Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

basiccan.h File Reference

Functions for basic-CAN controller. More...

Go to the source code of this file.

Functions

BOOL readRxBuffer (void)


Detailed Description

Functions for basic-CAN controller.

The function(s) in this file are responsible to do can-related stuff such as receiving all can-messages and put them into a buffer. the function(s) are hardware-independent, but depends on, if the can- controller uses basic-can or full-can. the function(s) in this file are for basic-can controllers


Function Documentation

BOOL readRxBuffer void   
 

This function reads a maximum of RX_CAN_BUFFER_SIZE messages in the buffer. RX_CAN_BUFFER_SIZE can be defined general.h. If theres no empty space to put a new message into the buffer (because the old one haven't been processed, new message are left in the buffer of the can-controller. in this case you're risking to loose data!

Returns :
TRUE if one or more new message has been arrived, FALSE if no new messages have been received.


Generated on Wed Dec 25 01:04:57 2002 for CANopen SlaveLib by doxygen1.2.17