uart.h
来自「JENNIC无线传感器网络 ZIGBEE 文件资料」· C头文件 代码 · 共 83 行
H
83 行
/**************************************************************************** * * MODULE: UART * * COMPONENT: uart.h,v * * VERSION: AT-Jenie_Release_v1_RC3 * * REVISION: 1.3 * * DATED: 2007/10/08 08:15:15 * * STATUS: Exp * * AUTHOR: MRW * * DESCRIPTION: Hardware abstarction layer for UART peripheral * * CHANGE HISTORY: * * uart.h,v * Implemented configuration in flash * * * MRW * * LAST MODIFIED BY: mwild * $Modtime: $ * **************************************************************************** * * (c) Copyright 2000 JENNIC Ltd * ****************************************************************************/#ifndef UART_H_INCLUDED#define UART_H_INCLUDED#if defined __cplusplusextern "C" {#endif/****************************************************************************//*** Include Files ***//****************************************************************************//****************************************************************************//*** Macro Definitions ***//****************************************************************************//****************************************************************************//*** Type Definitions ***//****************************************************************************//****************************************************************************//*** Exported Functions ***//****************************************************************************/PUBLIC void vUART_Init(void (*pfRxFn)(uint8), void (*pfTxRdy)(void));PUBLIC void vUART_TxChar(uint8 u8RxChar);PUBLIC bool_t bUART_TxReady(void);PUBLIC void vUART_RtsStartFlow(void);PUBLIC void vUART_RtsStopFlow(void);PUBLIC void vUART_SetTxInterrupt(bool_t bState);PUBLIC void vUART_SetBaudRate(uint32 u32BaudRate);/****************************************************************************//*** Exported Variables ***//****************************************************************************/#if defined __cplusplus}#endif#endif /* UART_H_INCLUDED *//****************************************************************************//*** END OF FILE ***//****************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?