Handles CAN interrupt request
DeInitializes the CAN MSP.
Initialization and Configuration functions
Add a message to the first free Tx mailbox and activate the corresponding transmission request.
Get an CAN frame from the Rx FIFO zone into the message RAM.
Return Rx FIFO fill level.
Return Tx Mailboxes free level: number of free Tx Mailboxes.
Rx FIFO 0 message pending callback.
Transmission Mailbox 1 complete callback.
Transmission Mailbox 2 complete callback.
Transmission Mailbox 0 Cancellation callback.
Transmission Mailbox 1 Cancellation callback.
Transmission Mailbox 2 Cancellation callback.
Rx FIFO 1 message pending callback.
WakeUp from Rx message callback.
Stop the CAN module and enable access to configuration registers.
Deinitializes the CAN peripheral registers to their default reset values.
CAN Peripheral State functions
Return the CAN error code.
Reset the CAN error code.
Request the sleep mode (low power) entry. When returning from this function, Sleep mode will be entered as soon as the current CAN activity (transmission or reception of a CAN frame) has been completed.
Wake up from sleep mode. When returning with HAL_OK status from this function, Sleep mode is exited.
Check is sleep mode is active.
Abort transmission requests
Check if a transmission request is pending on the selected Tx Mailboxes.
Return timestamp of Tx message sent, if time triggered communication mode is enabled.