ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions

can_lld.c File Reference

CAN Driver subsystem low level driver source template. More...

#include "ch.h"
#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_t can_lld_can_transmit (CANDriver *canp)
 Determines whether a frame can be transmitted.
void can_lld_transmit (CANDriver *canp, const CANTxFrame *ctfp)
 Inserts a frame into the transmit queue.
bool_t can_lld_can_receive (CANDriver *canp)
 Determines whether a frame has been received.
void can_lld_receive (CANDriver *canp, CANRxFrame *crfp)
 Receives a frame from the input queue.
void can_lld_sleep (CANDriver *canp)
 Enters the sleep mode.
void can_lld_wakeup (CANDriver *canp)
 Enforces leaving the sleep mode.

Detailed Description

CAN Driver subsystem low level driver source template.

Definition in file templates/can_lld.c.


Generated on Sun Oct 24 2010 09:40:38 for ChibiOS/RT by doxygen 1.7.1