ChibiOS/HAL 9.0.0
|
PLATFORM CAN subsystem low level driver source. More...
#include "hal.h"
Go to the source code of this file.
Functions | |
void | can_lld_init (void) |
Low level CAN driver initialization. | |
void | can_lld_start (CANDriver *canp) |
Configures and activates the CAN peripheral. | |
void | can_lld_stop (CANDriver *canp) |
Deactivates the CAN peripheral. | |
bool | can_lld_is_tx_empty (CANDriver *canp, canmbx_t mailbox) |
Determines whether a frame can be transmitted. | |
void | can_lld_transmit (CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp) |
Inserts a frame into the transmit queue. | |
bool | can_lld_is_rx_nonempty (CANDriver *canp, canmbx_t mailbox) |
Determines whether a frame has been received. | |
void | can_lld_receive (CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp) |
Receives a frame from the input queue. | |
void | can_lld_abort (CANDriver *canp, canmbx_t mailbox) |
Tries to abort an ongoing transmission. | |
void | can_lld_sleep (CANDriver *canp) |
Enters the sleep mode. | |
void | can_lld_wakeup (CANDriver *canp) |
Enforces leaving the sleep mode. |
Variables | |
CANDriver | CAND1 |
CAN1 driver identifier. |
PLATFORM CAN subsystem low level driver source.
Definition in file hal_can_lld.c.