xWRL6432 MMWAVE-L-SDK  05.04.00.01
CANFDLLD_MCANInitParams Struct Reference

Detailed Description

Data structure defines the MCAN initialization parameters.

Data Fields

uint32_t fdMode
 
uint32_t brsEnable
 
uint32_t txpEnable
 
uint32_t efbi
 
uint32_t pxhddisable
 
uint32_t darEnable
 
uint32_t wkupReqEnable
 
uint32_t autoWkupEnable
 
uint32_t emulationEnable
 
uint32_t emulationFAck
 
uint32_t clkStopFAck
 
uint32_t wdcPreload
 
uint32_t tdcEnable
 
CANFDLLD_MCANTdcConfig tdcConfig
 
uint32_t monEnable
 
uint32_t asmEnable
 
uint32_t tsPrescalar
 
uint32_t tsSelect
 
CANFDLLD_MCANTimeOutSelect timeoutSelect
 
uint32_t timeoutPreload
 
uint32_t timeoutCntEnable
 
CANFDLLD_MCANGlobalFiltConfig filterConfig
 
CANFDLLD_MCANMsgRAMCfgParams msgRAMConfig
 
CANFDLLD_MCANECCConfigParams eccConfig
 
uint32_t errInterruptEnable
 
uint32_t dataInterruptEnable
 

Field Documentation

◆ fdMode

uint32_t CANFDLLD_MCANInitParams::fdMode

FD Operation Enable 0 = FD operation disabled 1 = FD operation enabled

◆ brsEnable

uint32_t CANFDLLD_MCANInitParams::brsEnable

Bit Rate Switch Enable This is valid only when opMode = 1. 0 = Bit rate switching for transmissions disabled 1 = Bit rate switching for transmissions enabled

◆ txpEnable

uint32_t CANFDLLD_MCANInitParams::txpEnable

Transmit Pause 0 = Transmit pause disabled 1 = Transmit pause enabled

◆ efbi

uint32_t CANFDLLD_MCANInitParams::efbi

FEdge Filtering during Bus Integration 0 = Edge filtering disabled 1 = Two consecutive dominant tq required to detect an edge for hard synchronization

◆ pxhddisable

uint32_t CANFDLLD_MCANInitParams::pxhddisable

Protocol Exception Handling Disable 0 = Protocol exception handling enabled 1 = Protocol exception handling disabled

◆ darEnable

uint32_t CANFDLLD_MCANInitParams::darEnable

Disable Automatic Retransmission 0 = Automatic retransmission of messages not transmitted successfully enabled 1 = Automatic retransmission disabled

◆ wkupReqEnable

uint32_t CANFDLLD_MCANInitParams::wkupReqEnable

Wakeup Request Enable 0 = Wakeup request is disabled 1 = Wakeup request is enabled

◆ autoWkupEnable

uint32_t CANFDLLD_MCANInitParams::autoWkupEnable

Auto-Wakeup Enable 0 = Auto-Wakeup is disabled 1 = Auto-Wakeup is enabled

◆ emulationEnable

uint32_t CANFDLLD_MCANInitParams::emulationEnable

Emulation/Debug Suspend Enable 0 = Emulation/Debug Suspend is disabled 1 = Emulation/Debug Suspend is enabled

◆ emulationFAck

uint32_t CANFDLLD_MCANInitParams::emulationFAck

Emulation/Debug Suspend Fast Ack Enable 0 = Emulation/Debug Suspend does not wait for idle/immediate effect 1 = Emulation/Debug Suspend waits for idle/graceful stop

◆ clkStopFAck

uint32_t CANFDLLD_MCANInitParams::clkStopFAck

Clock Stop Fast Ack Enable 0 = Clock Stop does not wait for idle/immediate effect 1 = Clock Stop waits for idle/graceful stop

◆ wdcPreload

uint32_t CANFDLLD_MCANInitParams::wdcPreload

Start value of the Message RAM Watchdog Counter Range:[0x0-0xFF]

◆ tdcEnable

uint32_t CANFDLLD_MCANInitParams::tdcEnable

Transmitter Delay Compensation Enable 0 = Transmitter Delay Compensation is disabled 1 = Transmitter Delay Compensation is enabled

◆ tdcConfig

CANFDLLD_MCANTdcConfig CANFDLLD_MCANInitParams::tdcConfig

Transmitter Delay Compensation parameters. Refer struct CANFDLLD_MCANTdcConfig.

◆ monEnable

uint32_t CANFDLLD_MCANInitParams::monEnable

Bus Monitoring Mode 0 = Bus Monitoring Mode is disabled 1 = Bus Monitoring Mode is enabled

◆ asmEnable

uint32_t CANFDLLD_MCANInitParams::asmEnable

Restricted Operation Mode 0 = Normal CAN operation 1 = Restricted Operation Mode active This mode should not be combined with test modes.

◆ tsPrescalar

uint32_t CANFDLLD_MCANInitParams::tsPrescalar

Timestamp Counter Prescaler. Range:[0x0-0xF]

◆ tsSelect

uint32_t CANFDLLD_MCANInitParams::tsSelect

Timeout source selection. 00b: Timestamp counter value always 0x0000 01b: Timestamp counter value incremented according to tsPrescalar 10b: External timestamp counter value used 11b: Same as 00b

◆ timeoutSelect

CANFDLLD_MCANTimeOutSelect CANFDLLD_MCANInitParams::timeoutSelect

Time-out counter source select. Refer enum CANFDLLD_MCANTimeOutSelect.

◆ timeoutPreload

uint32_t CANFDLLD_MCANInitParams::timeoutPreload

Start value of the Timeout Counter (down-counter). The Timeout Counter is decremented in multiples of CAN bit times [1-16] depending on the configuration of the tsPrescalar. Range: [0x0-0xFFFF]

◆ timeoutCntEnable

uint32_t CANFDLLD_MCANInitParams::timeoutCntEnable

Timeout Counter Enable 0 - Timeout Counter is disabled 1 - Timeout Counter is enabled

◆ filterConfig

CANFDLLD_MCANGlobalFiltConfig CANFDLLD_MCANInitParams::filterConfig

Global Filter Configuration parameters. Refer struct CANFDLLD_MCANGlobalFiltConfig.

◆ msgRAMConfig

CANFDLLD_MCANMsgRAMCfgParams CANFDLLD_MCANInitParams::msgRAMConfig

Message RAM Configuration parameters. Refer struct CANFDLLD_MCANMsgRAMCfgParams.

◆ eccConfig

CANFDLLD_MCANECCConfigParams CANFDLLD_MCANInitParams::eccConfig

ECC Configuration parameters. Refer struct CANFDLLD_MCANECCConfigParams.

◆ errInterruptEnable

uint32_t CANFDLLD_MCANInitParams::errInterruptEnable

Enable/Disable error/status interrupts Note: Must be enabled to receive error and status interrupts.

◆ dataInterruptEnable

uint32_t CANFDLLD_MCANInitParams::dataInterruptEnable

Enable/Disable data interrupts. Note: Must be enabled to receive transmit complete and data receive interrupts.