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