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

📄 serial.h

📁 嵌入式系统 EP93xx处理器
💻 H
字号:
//****************************************************************************//// SERIAL.h - The common serial declaration for ep93xx//// Copyright (c) 2006 Cirrus Logic, Inc.////****************************************************************************#ifndef SERIAL_H#define SERIAL_H#include <ctype.h>#include <stdarg.h>#include <stdlib.h>#include <stdio.h>#ifdef __cplusplusextern "C" {#endif//****************************************************************************//    Function declaration//****************************************************************************//****************************************************************************// Name       : Serial_Init// Description: This routine initializes the serial port by setting//              its baud rate & FIFO buffer.// Arguments  : wBaud     - Baud Rate in bit/sec.//              bFifoFlag - FIFO flag.//                          True  - FIFO enabled.//                          False - FIFO disabled.// Return     : none.// Note(s)    ://****************************************************************************void Serial_Init(int wBaud, int bFifoFlag);//****************************************************************************// Name       : Serial_GetChar// Description: This routine waits for a character from the serial port//              & returns it.// Arguments  : none.// Return     : Returns the character read from the serial port.// Note(s)    ://****************************************************************************char Serial_GetChar(void);//****************************************************************************// Name       : Serial_SendChar// Description: This routine waits till the character is sent.// Arguments  : bData - Data to be sent.// Return     : none.// Note(s)    ://****************************************************************************void Serial_SendChar(char bData);#ifdef __cplusplus}#endif#endif /*SERIAL_H*/

⌨️ 快捷键说明

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