@CHIP-RTOS C Library - CAN API
Header File: #include <CAN_API.H>
The CLIB API definition for sending and receiving data on
the CAN (Controller Area Network) buses is defined here.
This API is only available in the SC1x3/SC2x @CHIP-RTOS.
The SC1x3/SC2x offers two CAN bus channels which can be operated with this API.
Each CAN channel has three hardware transmit
registers and a four CAN message deep hardware receiver FIFO. The CAN
driver provides send and receive software FIFO's with user specified sizes
around each of these hardware devices.
One required step in using the CAN ports is to call the
which configures the port for a specific baud rate and sets
the driver's software FIFO sizes.
In hardware, each receive channel offers three configurable
receiver filters which can be used to reduce the load placed on the
CPU by the CAN receivers. These registers are configured
with the CAN_Rx_Filters()
|CAN_Recv||Pickup a received CAN message|
|CAN_Peek||Look at received CAN message, leave in queue|
List of C Libraries
@CHIP-RTOS Main Index
End of document