UART
Universal Asynchronous Receiver/Transmitter,通用异步收发传输器
- Compatible with industry-standard 16450/16550 UARTs
- 64-Byte Transmit and receive data FIFOs
- Supports DMA controller interface
- Supports Software/ Hardware Flow Control
- Supports IrDA 1.0 SIR
- Supports RS-485 mode
模块配置
其menuconfig 的配置如下:
Kernel Setup --->
Drivers Setup --->
SoC HAL Drivers --->
UART devices --->
[*] enable uart driver
[*] enbale uart hal APIs Test command
源码结构
.
│ hal_uart.c # 驱动源码
│ platform-uart.h # 平台选择头文件
│ uart.h # 驱动私有头文件
└─platform
uart-sun20iw2p1.h # 平台特化定义