uart.h

来自「Basic Application Loading over the Seria」· C头文件 代码 · 共 18 行

H
18
字号
/* -------------------------------------------------------------------------- *
 * uart.h - header file to define necessary registers for uart setup and use. *
 *    See sprue33.pdf for more details.                                       *
 * -------------------------------------------------------------------------- */

#ifndef _UART_H_
#define _UART_H_

#define MAXSTRLEN 256

// Function prototypes 
unsigned int UARTSendData(unsigned char* seq);
unsigned int UARTSendInt(unsigned int value);
unsigned int GetStringLen(unsigned char* seq);
unsigned int UARTRecvData(unsigned int numBytes, unsigned char* seq);

#endif // End _UART_H_

⌨️ 快捷键说明

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