Go to the documentation of this file.
27 #if (HAL_USE_CAN == TRUE) || defined(__DOXYGEN__)
40 #if (PLATFORM_CAN_USE_CAN1 == TRUE) || defined(__DOXYGEN__)
67 #if PLATFORM_CAN_USE_CAN1 == TRUE
84 #if PLATFORM_CAN_USE_CAN1 == TRUE
107 #if PLATFORM_CAN_USE_CAN1 == TRUE
108 if (&
CAND1 == canp) {
227 #if (CAN_USE_SLEEP_MODE == TRUE) || defined(__DOXYGEN__)
CANDriver CAND1
CAN1 driver identifier.
void can_lld_abort(CANDriver *canp, canmbx_t mailbox)
Tries to abort an ongoing transmission.
bool can_lld_is_rx_nonempty(CANDriver *canp, canmbx_t mailbox)
Determines whether a frame has been received.
bool can_lld_is_tx_empty(CANDriver *canp, canmbx_t mailbox)
Determines whether a frame can be transmitted.
void can_lld_sleep(CANDriver *canp)
Enters the sleep mode.
void can_lld_start(CANDriver *canp)
Configures and activates the CAN peripheral.
void canObjectInit(CANDriver *canp)
Initializes the standard part of a CANDriver structure.
Structure representing an CAN driver.
canstate_t state
Driver state.
void can_lld_stop(CANDriver *canp)
Deactivates the CAN peripheral.
void can_lld_init(void)
Low level CAN driver initialization.
#define CAN_ANY_MAILBOX
Special mailbox identifier.
void can_lld_wakeup(CANDriver *canp)
Enforces leaving the sleep mode.
uint32_t canmbx_t
Type of a transmission mailbox index.
void can_lld_transmit(CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp)
Inserts a frame into the transmit queue.
void can_lld_receive(CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp)
Receives a frame from the input queue.