📄 serial.h
字号:
/**************************************************************************** * * MODULE: Serial * * COMPONENT: serial.h,v * * VERSION: AT-Jenie_Release_v1_RC3 * * REVISION: 1.2 * * DATED: 2007/09/25 09:03:21 * * STATUS: Exp * * AUTHOR: MRW * * DESCRIPTION: Generic buffered UART serial communications with RX * flow control on RTS * * CHANGE HISTORY: * * serial.h,v * * MRW * * LAST MODIFIED BY: mwild * $Modtime: $ * **************************************************************************** * * (c) Copyright 2007 JENNIC Ltd * ****************************************************************************/#ifndef SERIAL_H_INCLUDED#define SERIAL_H_INCLUDED#if defined __cplusplusextern "C" {#endif/****************************************************************************//*** Include Files ***//****************************************************************************//****************************************************************************//*** Macro Definitions ***//****************************************************************************/#define CR_CHAR 0x0DU#define LF_CHAR 0x0AU/****************************************************************************//*** Type Definitions ***//****************************************************************************//****************************************************************************//*** Exported Functions ***//****************************************************************************/PUBLIC void vSerial_Init(void);PUBLIC bool_t bSerial_TxChar(uint8 u8Chr);PUBLIC int16 i16Serial_RxChar(void);/****************************************************************************//*** Exported Variables ***//****************************************************************************/#if defined __cplusplus}#endif#endif /* SERIAL_H_INCLUDED *//****************************************************************************//*** END OF FILE ***//****************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -