Internal driver state information. More...

#include <platform/drivers/inc/flexcan_driver.h>

Data Fields

flexcan_mb_handle_t mbs [(32U)]
 
void(* callback )(uint8_t instance, flexcan_event_type_t eventType, uint32_t buffIdx, struct FlexCANState *driverState)
 
void * callbackParam
 
void(* error_callback )(uint8_t instance, flexcan_event_type_t eventType, struct FlexCANState *driverState)
 
void * errorCallbackParam
 
uint8_t rxFifoDMAChannel
 
flexcan_rxfifo_transfer_type_t transferType
 

Detailed Description

Internal driver state information.

Note
The contents of this structure are internal to the driver and should not be modified by users. Also, contents of the structure are subject to change in future releases. Implements : flexcan_state_t_Class

Definition at line 122 of file flexcan_driver.h.

Field Documentation

void(* callback) (uint8_t instance, flexcan_event_type_t eventType, uint32_t buffIdx, struct FlexCANState *driverState)

IRQ handler callback function.

Definition at line 125 of file flexcan_driver.h.

void* callbackParam

Parameter used to pass user data when invoking the callback function.

Definition at line 129 of file flexcan_driver.h.

void(* error_callback) (uint8_t instance, flexcan_event_type_t eventType, struct FlexCANState *driverState)

Error IRQ handler callback function.

Definition at line 132 of file flexcan_driver.h.

void* errorCallbackParam

Parameter used to pass user data when invoking the error callback function.

Definition at line 136 of file flexcan_driver.h.

flexcan_mb_handle_t mbs[(32U)]

Array containing information related to each MB

Definition at line 123 of file flexcan_driver.h.

uint8_t rxFifoDMAChannel

DMA channel number used for transfers.

Definition at line 140 of file flexcan_driver.h.

Type of RxFIFO transfer.

Definition at line 143 of file flexcan_driver.h.


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