comm_51.h
来自「ucos2的驱动程序」· C头文件 代码 · 共 24 行
H
24 行
/*
*********************************************************************************************************
* 基于uC/OS-II的串口驱动及应用程序接口函数
* 版权所有
*
* 文件名 : COMM_51.H
* 作者 : 陈是知 csz-mail@126.com 北京中软 2005。3。11
*********************************************************************************************************
*/
#define NUL 0x00
/* ERROR CODES */
#define COMM_NO_ERR 0 /* Function call was successful */
#define COMM_BAD_CH 1 /* Invalid communications port channel */
#define COMM_RX_EMPTY 2 /* Rx buffer is empty, no character available */
#define COMM_TX_FULL 3 /* Tx buffer is full, could not deposit character */
#define COMM_TX_EMPTY 4 /* If the Tx buffer is empty. */
INT8U CommGetChar(INT8U *err) reentrant;
INT8U CommPutChar(INT8U c) reentrant;
void CommISRHandler() reentrant;
void CommInit() reentrant;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?