Low-level CAN peripheral driver interface. More...

Detailed Description

Low-level CAN peripheral driver interface.

This is a basic abstract peripheral to be used with candev.

The can_t type should be compatible with candev_t to be used by the candev interface.

See auto init for more details how the can_t is used.

Files

file  can.h
 Low-level CAN peripheral driver interface definitions.
 

Typedefs

typedef candev_t can_t
 CAN device descriptor identifier.
 
typedef int can_conf_t
 CAN configuration identifier.
 

Functions

void can_init (can_t *dev, const can_conf_t *conf)
 Initialize a periph CAN device with the given configuration. More...
 

Function Documentation

◆ can_init()

void can_init ( can_t dev,
const can_conf_t conf 
)

Initialize a periph CAN device with the given configuration.

Parameters
[in,out]devdevice descriptor
[in]confdevice vonfiguration