ChibiOS/HAL  6.1.0
hal_can.c File Reference

CAN Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

void canInit (void)
 CAN Driver initialization. More...
 
void canObjectInit (CANDriver *canp)
 Initializes the standard part of a CANDriver structure. More...
 
void canStart (CANDriver *canp, const CANConfig *config)
 Configures and activates the CAN peripheral. More...
 
void canStop (CANDriver *canp)
 Deactivates the CAN peripheral. More...
 
bool canTryTransmitI (CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp)
 Can frame transmission attempt. More...
 
bool canTryReceiveI (CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp)
 Can frame receive attempt. More...
 
msg_t canTransmitTimeout (CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp, sysinterval_t timeout)
 Can frame transmission. More...
 
msg_t canReceiveTimeout (CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp, sysinterval_t timeout)
 Can frame receive. More...
 
void canSleep (CANDriver *canp)
 Enters the sleep mode. More...
 
void canWakeup (CANDriver *canp)
 Enforces leaving the sleep mode. More...
 

Detailed Description

CAN Driver code.

Definition in file hal_can.c.