38#ifndef CAN_INTERFACE_H
39#define CAN_INTERFACE_H
This is the generated driver types header file for the CAN driver using CCL.
CAN_TX_FIFO_STATUS
Defines the CAN transmit status get Api return status.
CAN_OP_MODE_STATUS
Defines the CAN operation set Api return status.
CAN_TX_MSG_REQUEST_STATUS
Defines the CAN transmit Api return status.
CAN_OP_MODES
Defines the CAN operation modes are available for the module to use.
Structure containing the function pointers of CAN driver.
enum CAN_TX_FIFO_STATUS(* TransmitFIFOStatusGet)(const unsigned fifoChannel)
Pointer to CANx_TransmitFIFOStatusGet e.g. CAN1_TransmitFIFOStatusGet.
void(* RxBufferOverFlowCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_RxBufferOverFlowCallbackRegister e.g. CAN1_RxBufferOverFlowCallbackRegister.
void(* TxAttemptCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_TxAttemptCallbackRegister e.g. CAN1_TxAttemptCallbackRegister.
void(* Tasks)(void)
Pointer to CANx_Tasks e.g. CAN1_Tasks (Supported only in polling mode)
uint8_t(* RX_FIFO_StatusGet)(const unsigned fifoNum)
Pointer to CANx_RX_FIFO_StatusGet e.g. CAN1_RX_FIFO_StatusGet.
bool(* IsBusOff)(void)
Pointer to CANx_IsBusOff e.g. CAN1_IsBusOff.
bool(* IsRxErrorPassive)(void)
Pointer to CANx_IsRxErrorPassive e.g. CAN1_IsRxErrorPassive.
enum CAN_OP_MODE_STATUS(* OperationModeSet)(const enum CAN_OP_MODES requestMode)
Pointer to CANx_OperationModeSet e.g. CAN1_OperationModeSet.
void(* BusWakeUpActivityCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_BusWakeUpActivityCallbackRegister e.g. CAN1_BusWakeUpActivityCallbackRegister.
void(* BusErrorCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_BusErrorCallbackRegister e.g. CAN1_BusErrorCallbackRegister.
bool(* IsTxErrorActive)(void)
Pointer to CANx_IsTxErrorActive e.g. CAN1_IsTxErrorActive.
bool(* Receive)(struct CAN_MSG_OBJ *rxCanMsg)
Pointer to CANx_Receive e.g. CAN1_Receive.
void(* SystemErrorCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_SystemErrorCallbackRegister e.g. CAN1_SystemErrorCallbackRegister.
bool(* IsTxErrorPassive)(void)
Pointer to CANx_IsTxErrorPassive e.g. CAN1_IsTxErrorPassive.
void(* ModeChangeCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_ModeChangeCallbackRegister e.g. CAN1_ModeChangeCallbackRegister.
enum CAN_TX_MSG_REQUEST_STATUS(* Transmit)(const unsigned fifoChannel, struct CAN_MSG_OBJ *txCanMsg)
Pointer to CANx_Transmit e.g. CAN1_Transmit.
bool(* IsRxErrorWarning)(void)
Pointer to CANx_IsRxErrorWarning e.g. CAN1_IsRxErrorWarning.
void(* InvalidMessageCallbackRegister)(void(*CallbackHandler)(void))
Pointer to CANx_InvalidMessageCallbackRegister e.g. CAN1_InvalidMessageCallbackRegister.
void(* Deinitialize)(void)
Pointer to CANx_Deinitialize e.g. CAN1_Deinitialize.
bool(* IsTxErrorWarning)(void)
Pointer to CANx_IsTxErrorWarning e.g. CAN1_IsTxErrorWarning.
uint8_t(* ReceivedMessageCountGet)(void)
Pointer to CANx_ReceivedMessageCountGet e.g. CAN1_ReceivedMessageCountGet.
enum CAN_OP_MODES(* OperationModeGet)(void)
Pointer to CANx_OperationModeGet e.g. CAN1_OperationModeGet.
bool(* IsRxErrorActive)(void)
Pointer to CANx_IsRxErrorActive e.g. CAN1_IsRxErrorActive.
void(* SleepMode)(void)
Pointer to CANx_Sleep e.g. CAN1_Sleep.
void(* Initialize)(void)
Pointer to CANx_Initialize e.g. CAN1_Initialize.
bool(* ReceiveMessageGet)(const unsigned fifoChannel, struct CAN_MSG_OBJ *rxCanMsg)
Pointer to CANx_ReceiveMessageGet e.g. CAN1_ReceiveMessageGet.
This data structure used to configure the CAN FD message object.