📄 basiccan.h
字号:
/*************************************************************************** sdos.h - description ------------------- begin : Fri May 17 2002 copyright : (C) 2002 by Raphael Zulliger email : zulli@hsr.ch ***************************************************************************//*************************************************************************** * * * This library is Copyright (c) Raphael Zulliger <zulli@gmx.net>. * * It is licensed under the GNU Library General Public License (LGPL). * * * ***************************************************************************//** \file * \brief 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 */#ifndef __basiccan_h__#define __basiccan_h__/** 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! * \return TRUE if one or more new message has been arrived, FALSE if no new * messages have been received. */BOOL readRxBuffer(void);#endif // __basiccan_h__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -