Nut/OS  4.10.3
API Reference
can_dev.c File Reference

Driver for CAN-Bus devices. More...

#include <stdio.h>
#include <sys/timer.h>
#include <sys/device.h>
#include <dev/can_dev.h>
Include dependency graph for can_dev.c:

Go to the source code of this file.

Functions

uint8_t CAN_SetSpeed (NUTDEVICE *dev, uint32_t baudrate)
void CAN_SetFilter (NUTDEVICE *dev, uint8_t *ac, uint8_t *am)
void CAN_TxFrame (NUTDEVICE *dev, CANFRAME *frame)
uint8_t CAN_TryTxFrame (NUTDEVICE *dev, CANFRAME *frame)
uint8_t CAN_TxFree (NUTDEVICE *dev)
uint8_t CAN_RxFrame (NUTDEVICE *dev, CANFRAME *frame)
uint8_t CAN_TryRxFrame (NUTDEVICE *dev, CANFRAME *frame)
uint8_t CAN_RxAvail (NUTDEVICE *dev)
void CAN_SetRxTimeout (NUTDEVICE *dev, uint32_t timeout)

Detailed Description

Driver for CAN-Bus devices.

Definition in file can_dev.c.