Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
TCAN4550Can::Mode Struct Reference

Mode register definition. More...

Public Member Functions

 Mode ()
 Constructor. Sets the reset value.
 
 Mode ()
 Constructor. Sets the reset value.
 

Public Attributes

union { 
 
   uint32_t   data 
 raw word value More...
 
   struct { 
 
      uint32_t   testModeConfig: 1 
 test mode configuration More...
 
      uint32_t   sweDis: 1 
 sleep wake error disable More...
 
      uint32_t   reset: 1 
 device reset More...
 
      uint32_t   wdEnable: 1 
 watchdog enable More...
 
      uint32_t   reserved1: 2 
 reserved More...
 
      uint32_t   modeSel: 2 
 mode of operation select More...
 
      uint32_t   nWkrqConfig: 1 
 nWKRQ pin function More...
 
      uint32_t   inhDisable: 1 
 INH pin disable. More...
 
      uint32_t   gpio1GpoConfig: 2 
 GPIO1 output function select. More...
 
      uint32_t   reserved2: 1 
 reserved More...
 
      uint32_t   failSafeEnable: 1 
 fail safe mode enable More...
 
      uint32_t   gpio1Config: 2 
 GPIO1 pin function select. More...
 
      uint32_t   wdAction: 2 
 selected watchdog action More...
 
      uint32_t   wdBitSet: 1 
 write a '1' to reset timer More...
 
      uint32_t   nWkrqVoltage: 1 
 nWKRQ pin GPO buffer voltage More...
 
      uint32_t   reserved3: 1 
 reserved More...
 
      uint32_t   testModeEn: 1 
 test mode enable More...
 
      uint32_t   gpo2Config: 2 
 GPO2 pin configuration. More...
 
      uint32_t   reserved4: 3 
 reserved More...
 
      uint32_t   clkRef: 1 
 CLKIN/crystal freq reference. More...
 
      uint32_t   wdTimer: 2 
 watchdog timer More...
 
      uint32_t   wakeConfig: 2 
 Wake pin configuration. More...
 
   }  
 
};  
 
union { 
 
   uint32_t   data 
 raw word value More...
 
   struct { 
 
      uint32_t   testModeConfig: 1 
 test mode configuration More...
 
      uint32_t   sweDis: 1 
 sleep wake error disable More...
 
      uint32_t   reset: 1 
 device reset More...
 
      uint32_t   wdEnable: 1 
 watchdog enable More...
 
      uint32_t   reserved1: 2 
 reserved More...
 
      uint32_t   modeSel: 2 
 mode of operation select More...
 
      uint32_t   nWkrqConfig: 1 
 nWKRQ pin function More...
 
      uint32_t   inhDisable: 1 
 INH pin disable. More...
 
      uint32_t   gpio1GpoConfig: 2 
 GPIO1 output function select. More...
 
      uint32_t   reserved2: 1 
 reserved More...
 
      uint32_t   failSafeEnable: 1 
 fail safe mode enable More...
 
      uint32_t   gpio1Config: 2 
 GPIO1 pin function select. More...
 
      uint32_t   wdAction: 2 
 selected watchdog action More...
 
      uint32_t   wdBitSet: 1 
 write a '1' to reset timer More...
 
      uint32_t   nWkrqVoltage: 1 
 nWKRQ pin GPO buffer voltage More...
 
      uint32_t   reserved3: 1 
 reserved More...
 
      uint32_t   testModeEn: 1 
 test mode enable More...
 
      uint32_t   gpo2Config: 2 
 GPO2 pin configuration. More...
 
      uint32_t   reserved4: 3 
 reserved More...
 
      uint32_t   clkRef: 1 
 CLKIN/crystal freq reference. More...
 
      uint32_t   wdTimer: 2 
 watchdog timer More...
 
      uint32_t   wakeConfig: 2 
 Wake pin configuration. More...
 
   }  
 
};  
 

Detailed Description

Mode register definition.

Definition at line 285 of file MCAN.hxx.

Constructor & Destructor Documentation

◆ Mode() [1/2]

TCAN4550Can::Mode::Mode ( )
inline

Constructor. Sets the reset value.

Definition at line 288 of file MCAN.hxx.

◆ Mode() [2/2]

TCAN4550Can::Mode::Mode ( )
inline

Constructor. Sets the reset value.

Definition at line 288 of file TCAN4550Can.hxx.

Member Data Documentation

◆ clkRef

uint32_t TCAN4550Can::Mode::clkRef

CLKIN/crystal freq reference.

Definition at line 317 of file MCAN.hxx.

◆ data

uint32_t TCAN4550Can::Mode::data

raw word value

Definition at line 295 of file MCAN.hxx.

◆ failSafeEnable

uint32_t TCAN4550Can::Mode::failSafeEnable

fail safe mode enable

Definition at line 308 of file MCAN.hxx.

◆ gpio1Config

uint32_t TCAN4550Can::Mode::gpio1Config

GPIO1 pin function select.

Definition at line 309 of file MCAN.hxx.

◆ gpio1GpoConfig

uint32_t TCAN4550Can::Mode::gpio1GpoConfig

GPIO1 output function select.

Definition at line 306 of file MCAN.hxx.

◆ gpo2Config

uint32_t TCAN4550Can::Mode::gpo2Config

GPO2 pin configuration.

Definition at line 315 of file MCAN.hxx.

◆ inhDisable

uint32_t TCAN4550Can::Mode::inhDisable

INH pin disable.

Definition at line 305 of file MCAN.hxx.

◆ modeSel

uint32_t TCAN4550Can::Mode::modeSel

mode of operation select

Definition at line 303 of file MCAN.hxx.

◆ nWkrqConfig

uint32_t TCAN4550Can::Mode::nWkrqConfig

nWKRQ pin function

Definition at line 304 of file MCAN.hxx.

◆ nWkrqVoltage

uint32_t TCAN4550Can::Mode::nWkrqVoltage

nWKRQ pin GPO buffer voltage

Definition at line 312 of file MCAN.hxx.

◆ reserved1

uint32_t TCAN4550Can::Mode::reserved1

reserved

Definition at line 302 of file MCAN.hxx.

◆ reserved2

uint32_t TCAN4550Can::Mode::reserved2

reserved

Definition at line 307 of file MCAN.hxx.

◆ reserved3

uint32_t TCAN4550Can::Mode::reserved3

reserved

Definition at line 313 of file MCAN.hxx.

◆ reserved4

uint32_t TCAN4550Can::Mode::reserved4

reserved

Definition at line 316 of file MCAN.hxx.

◆ reset

uint32_t TCAN4550Can::Mode::reset

device reset

Definition at line 300 of file MCAN.hxx.

◆ sweDis

uint32_t TCAN4550Can::Mode::sweDis

sleep wake error disable

Definition at line 299 of file MCAN.hxx.

◆ testModeConfig

uint32_t TCAN4550Can::Mode::testModeConfig

test mode configuration

Definition at line 298 of file MCAN.hxx.

◆ testModeEn

uint32_t TCAN4550Can::Mode::testModeEn

test mode enable

Definition at line 314 of file MCAN.hxx.

◆ wakeConfig

uint32_t TCAN4550Can::Mode::wakeConfig

Wake pin configuration.

Definition at line 319 of file MCAN.hxx.

◆ wdAction

uint32_t TCAN4550Can::Mode::wdAction

selected watchdog action

Definition at line 310 of file MCAN.hxx.

◆ wdBitSet

uint32_t TCAN4550Can::Mode::wdBitSet

write a '1' to reset timer

Definition at line 311 of file MCAN.hxx.

◆ wdEnable

uint32_t TCAN4550Can::Mode::wdEnable

watchdog enable

Definition at line 301 of file MCAN.hxx.

◆ wdTimer

uint32_t TCAN4550Can::Mode::wdTimer

watchdog timer

Definition at line 318 of file MCAN.hxx.


The documentation for this struct was generated from the following files: