Universal Asynchronous Receivers/Transmitters (UART) Peripheral Driver. More...
|
Modules | |
| xUART | |
CoX UART Peripheral Interface. | |
| xUART Config and Example | |
CoX UART Config and Config and Example. | |
Universal Asynchronous Receivers/Transmitters (UART) Peripheral Driver.
The Universal Asynchronous Receiver/Transmitter (UART) performs a serial-to-parallel conversion on data received from the peripheral, and a parallel-to-serial conversion on data transmitted from the CPU.
The UART controller also supports LIN master mode, IrDA SIR, Flow Control, and Modem.
The transmit logic performs parallel-to-serial conversion on the data read from the transmit FIFO. The control logic outputs the serial bit stream beginning with a start bit and followed by the data bits (LSB first), parity bit, and the stop bits according to the programmed configuration in the control registers.
The UART0 has two 64-entry FIFOs; UART1 and UART2 have two 16-entry FIFOs.
UART0/UART1 can be served by the DMA controller.
The UART supports IrDA SIR(Serial Infrared) Transmit Encoder and Receive Decoder, and IrDA mode is selected by setting the IrDA_EN bit in UA_FUN_SEL register.
Support hardware auto flow control/flow control funciton(CTS, RTS) and programmable RTS flow control trigger level(UART0 and UART1 support).
Support LIN function mode.
Support RS-485 function mode.
The UART can generate interrupts when the following conditions are observed: