radiocomms.h

来自「simulink real-time workshop for dragon12」· C头文件 代码 · 共 35 行

H
35
字号
/******************************************************************************/
/* Header file 'radioComms.h'                                                 */
/******************************************************************************/

#ifndef _RADIOCOMMS_
#define _RADIOCOMMS_


// maximum number of radio data communication channels
#define MAX_RADIOCOM_CHANNELS	10*CLIENT_COUNT		/* maximum number of radio communication channels */
#define MAX_RADIOCOM_BUF_SIZE	32			          /* currently limited to 32 data bytes (FW-09-06) */



#ifndef _S0_USERTEL_
#ifndef _FREEPORTCOMMS_
// all buffer variables are of the following format...
typedef struct	myUsrBuf_tag {
                                int_T   buffer_full;
                                uint_T  access_count;
                                uint_T  buf_size;
                                uint8_T *buf;
                             } myUsrBuf;
#endif /* _FREECOMMS_ */
#endif /* _S0_USERTEL_ */


// target : declare global radio communication admin variables
extern myUsrBuf *radiocomTelBuf[];      				/* defined in mc_main.c */
 

#endif /* _RADIOCOMMS_ */


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?