UARTUSART
UART and USART are serial communication peripherals used in microcontrollers and embedded systems. A UART, or universal asynchronous receiver-transmitter, provides asynchronous serial communication by converting parallel data into a serial bit stream and back, without a separate clock line. A USART, or universal synchronous/asynchronous receiver-transmitter, can operate as a UART in asynchronous mode and also supports synchronous operation using a shared clock line for higher efficiency.
In asynchronous mode, data frames typically consist of a start bit, a configurable number of data bits
Common implementations provide a single peripheral capable of both modes, with configurable word length, parity, stop
Applications include microcontroller console interfaces, debugging ports, inter-device communication, and PC serial ports. Advantages include simplicity