Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

basiccan.c File Reference

#include <def.h>
#include <general.h>
#include <objdict.h>
#include <canop.h>

Functions

BOOL readRxBuffer (void)

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