uartcomm.h
来自「altera epxa1的例子程序」· C头文件 代码 · 共 24 行
H
24 行
/*
* Copyright (c) Altera Corporation 2002.
* All rights reserved.
*
* UARTComm.h
*
* Function prototypes and definitions to use the UART IO functions
*/
#ifndef UARTCOMM_H
#define UARTCOMM_H
#define BUFF_SIZE 16384
#define BUFF_MASK 0x3FFF
#define EOF (-1)
#define UART00_TYPE (volatile unsigned int*)
void uart_start_tx(void);
void uart_init(void);
void uart_irq_handler(void);
#endif /* UARTCOMM_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?