Chapter 29. CAN driver details

Table of Contents
Description
API Details
Runtime Configuration

Allow applications and other packages to access CAN devices.

Description

A raw CAN driver is is provided as a standard part of the eCos system.

Use the include file <cyg/io/canio.h> for this driver.

The CAN driver is capable of sending single CAN messages to a device and receiving single CAN events from a CAN device. Controls are provided to configure the actual hardware, but there is no manipulation of the data by this driver.

There may be many instances of this driver in a given system, one for each CAN channel. Each channel corresponds to a physical device and there will typically be a device module created for this purpose. The device modules themselves are configurable, allowing specification of the actual hardware details.