basiccan.h
来自「This library is Copyright (c) Raphael Zu」· C头文件 代码 · 共 40 行
H
40 行
/*************************************************************************** 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 + =
减小字号Ctrl + -
显示快捷键?