ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions

can.c File Reference

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.

Detailed Description

CAN Driver code.

Definition in file can.c.


Generated on Sun Nov 28 2010 14:09:49 for ChibiOS/RT by doxygen 1.7.1