ChibiOS/HAL 9.0.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.
void canObjectInit (CANDriver *canp)
 Initializes the standard part of a CANDriver structure.
msg_t canStart (CANDriver *canp, const CANConfig *config)
 Configures and activates the CAN peripheral.
void canStop (CANDriver *canp)
 Deactivates the CAN peripheral.
bool canTryTransmitI (CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp)
 Can frame transmission attempt.
bool canTryReceiveI (CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp)
 Can frame receive attempt.
void canTryAbortX (CANDriver *canp, canmbx_t mailbox)
 Tries to abort an ongoing transmission.
msg_t canTransmitTimeout (CANDriver *canp, canmbx_t mailbox, const CANTxFrame *ctfp, sysinterval_t timeout)
 Can frame transmission.
msg_t canReceiveTimeout (CANDriver *canp, canmbx_t mailbox, CANRxFrame *crfp, sysinterval_t timeout)
 Can frame receive.
void canSleep (CANDriver *canp)
 Enters the sleep mode.
void canWakeup (CANDriver *canp)
 Enforces leaving the sleep mode.

Detailed Description

CAN Driver code.

Definition in file hal_can.c.