serial.h

来自「此程式庫有許多的zigbee程式源碼」· C头文件 代码 · 共 81 行

H
81
字号
/**************************************************************************** * * MODULE:             serial.h * * COMPONENT:          $RCSfile: $ * * VERSION:            $Name: $ * * REVISION:           $Revision: $ * * DATED:              $Date: $ * * STATUS:             $State: $ * * AUTHOR:             Ian Morris * * DESCRIPTION * * CHANGE HISTORY: * * $Log: $ * * * LAST MODIFIED BY:   $Author: pc1 $ *                     $Modtime: $ * * **************************************************************************** * *  (c) Copyright 2000 JENNIC Ltd * ****************************************************************************/#ifndef  SERIAL_H_INCLUDED#define  SERIAL_H_INCLUDED#if defined __cplusplusextern "C" {#endif/****************************************************************************//***        Include Files                                                 ***//****************************************************************************/#include <jendefs.h>/****************************************************************************//***        Macro Definitions                                             ***//****************************************************************************/#define CR_CHAR	  0x0DU#define LF_CHAR	  0x0AU/****************************************************************************//***        Type Definitions                                              ***//****************************************************************************//****************************************************************************//***        Exported Functions                                            ***//****************************************************************************/PUBLIC void vSerial_Init(void);PUBLIC void vSerial_TxChar(uint8 u8Chr);PUBLIC void vSerial_TxString(const uint8 *ps);PUBLIC int16 i16Serial_RxChar(void);PUBLIC void vSerialRxString(uint8 *ps);/****************************************************************************//***        Exported Variables                                            ***//****************************************************************************/#if defined __cplusplus}#endif#endif  /* SERIAL_H_INCLUDED *//****************************************************************************//***        END OF FILE                                                   ***//****************************************************************************/

⌨️ 快捷键说明

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