⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s0_usertel.h

📁 simulink real-time workshop for dragon12 development board from
💻 H
字号:
/******************************************************************************/
/* Header file 's0_userTel.h'                                                 */
/******************************************************************************/

#ifndef _S0_USERTEL_
#define _S0_USERTEL_

// maximum number of user data communication channels
#define MAX_UCOM_CHANNELS	5			/* maximum number of user communication channels */
#define MAX_BUF_SIZE		50			/* currently limited to 50 data bytes (FW-08-06) */


#ifndef _FREEPORTCOMMS_
#ifndef _RADIOCOMMS_

// 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 /* _RADIOCOMMS_ */
#endif /* _FREEPORTCOMMS_ */


// target : declare global user communication admin variables
extern myUsrBuf	  *userTelBuf[];      						/* defined in ext_svr.c */
extern int_T	     user_txd_queue[];	    				/* defined in ext_svr.c */
extern int_T	     num_user_channels_active;			/* defined in ext_svr.c */
extern int_T	     next_user_channel_index; 			/* defined in ext_svr.c */

#endif /* _S0_USERTEL_ */


⌨️ 快捷键说明

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