xWRL6432 MMWAVE-L-SDK  05.04.00.01
CANFDLLD_Object Struct Reference

Detailed Description

CANFD Master Control Block.

The structure describes the CANFD Driver and is used to hold the relevant information with respect to the CANFD module.

Data Fields

uint32_t regBaseAddress
 Base address of the register address space to be used. More...
 
CANFDLLD_DriverState state
 CANFD driver internal state. More...
 
CANFDLLD_MCANInitParams initParams
 CANFD driver init parameters. More...
 
uint8_t mcanDataSize [16]
 Data Length to DLC mapping. More...
 
struct CANFDLLD_MessageObject_t * msgObjectHandle [MCAN_MAX_MSG_OBJECTS]
 Message object handle book keeping. More...
 
struct CANFDLLD_MessageObject_t * txMapping [MCAN_MAX_TX_MSG_OBJECTS]
 Tx Mapping to message handles for transmit post processing. More...
 
struct CANFDLLD_MessageObject_t * rxMapping [MCAN_MAX_RX_MSG_OBJECTS]
 Rx Mapping to message handles for Rx processing. More...
 
uint32_t errStatusInterrupts
 Number of error and status interrupts received. More...
 
uint32_t interrupts
 Number of interrupts received for message Tx or Rx. More...
 
uint32_t eccInterrupts
 Number of ECC interrupts received. More...
 
uint32_t busOffInterrupts
 Number of Bus-Off interrupts received. More...
 
uint32_t protoDataErrInterrupts
 Number of Protocol error in data phase interrupts received. More...
 
uint32_t protoArbErrInterrupts
 Number of Protocol error in arbitration phase interrupts received. More...
 
uint8_t txStatus [MCAN_MAX_TX_MSG_OBJECTS]
 Tx Status of the message object. More...
 
uint32_t useFifoNum
 Flag to toggle the usage of FIFO 0 and FIFO 1. Valid values are 0 and 1. More...
 
MCAN_RxBufElement rxBuffElem
 Buffer used to read message RAM. More...
 
CANFDLLD_DmaHandle canfdDmaHandle
 Dma driver handle. More...
 
CANFDLLD_DmaChConfig canfdDmaChCfg
 Pointer to Dma channel configuration. More...
 
void * args
 Pointer to be used by application to store miscellaneous data. More...
 

Field Documentation

◆ regBaseAddress

uint32_t CANFDLLD_Object::regBaseAddress

Base address of the register address space to be used.

◆ state

CANFDLLD_DriverState CANFDLLD_Object::state

CANFD driver internal state.

◆ initParams

CANFDLLD_MCANInitParams CANFDLLD_Object::initParams

CANFD driver init parameters.

◆ mcanDataSize

uint8_t CANFDLLD_Object::mcanDataSize[16]

Data Length to DLC mapping.

◆ msgObjectHandle

struct CANFDLLD_MessageObject_t* CANFDLLD_Object::msgObjectHandle[MCAN_MAX_MSG_OBJECTS]

Message object handle book keeping.

◆ txMapping

struct CANFDLLD_MessageObject_t* CANFDLLD_Object::txMapping[MCAN_MAX_TX_MSG_OBJECTS]

Tx Mapping to message handles for transmit post processing.

◆ rxMapping

struct CANFDLLD_MessageObject_t* CANFDLLD_Object::rxMapping[MCAN_MAX_RX_MSG_OBJECTS]

Rx Mapping to message handles for Rx processing.

◆ errStatusInterrupts

uint32_t CANFDLLD_Object::errStatusInterrupts

Number of error and status interrupts received.

◆ interrupts

uint32_t CANFDLLD_Object::interrupts

Number of interrupts received for message Tx or Rx.

◆ eccInterrupts

uint32_t CANFDLLD_Object::eccInterrupts

Number of ECC interrupts received.

◆ busOffInterrupts

uint32_t CANFDLLD_Object::busOffInterrupts

Number of Bus-Off interrupts received.

◆ protoDataErrInterrupts

uint32_t CANFDLLD_Object::protoDataErrInterrupts

Number of Protocol error in data phase interrupts received.

◆ protoArbErrInterrupts

uint32_t CANFDLLD_Object::protoArbErrInterrupts

Number of Protocol error in arbitration phase interrupts received.

◆ txStatus

uint8_t CANFDLLD_Object::txStatus[MCAN_MAX_TX_MSG_OBJECTS]

Tx Status of the message object.

◆ useFifoNum

uint32_t CANFDLLD_Object::useFifoNum

Flag to toggle the usage of FIFO 0 and FIFO 1. Valid values are 0 and 1.

◆ rxBuffElem

MCAN_RxBufElement CANFDLLD_Object::rxBuffElem

Buffer used to read message RAM.

◆ canfdDmaHandle

CANFDLLD_DmaHandle CANFDLLD_Object::canfdDmaHandle

Dma driver handle.

◆ canfdDmaChCfg

CANFDLLD_DmaChConfig CANFDLLD_Object::canfdDmaChCfg

Pointer to Dma channel configuration.

◆ args

void* CANFDLLD_Object::args

Pointer to be used by application to store miscellaneous data.