![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
CAN Driver code. More...
#include "ch.h"#include "hal.h"Go to the source code of this file.
Functions | |
| void | canInit (void) |
| CAN Driver initialization. | |
| void | canObjectInit (CANDriver *canp) |
Initializes the standard part of a CANDriver structure. | |
| void | canStart (CANDriver *canp, const CANConfig *config) |
| Configures and activates the CAN peripheral. | |
| void | canStop (CANDriver *canp) |
| Deactivates the CAN peripheral. | |
| msg_t | canTransmit (CANDriver *canp, const CANTxFrame *ctfp, systime_t timeout) |
| Can frame transmission. | |
| msg_t | canReceive (CANDriver *canp, CANRxFrame *crfp, systime_t timeout) |
| Can frame receive. | |
| canstatus_t | canGetAndClearFlags (CANDriver *canp) |
| Returns the current status mask and clears it. | |
| void | canSleep (CANDriver *canp) |
| Enters the sleep mode. | |
| void | canWakeup (CANDriver *canp) |
| Enforces leaving the sleep mode. | |
CAN Driver code.
Definition in file can.c.
1.7.1