본문 바로가기

프로그래밍/기타

What is UART? (UART란?)

UART

 

UART(Universal asynchronous receiver/transmitter) is the microchip with programming that controls a computer's interface to its attached serial devices.

  • Converts the bytes it receives from the computer along parallel circuits into a single serial bit stream for outbound transmission.
  • On inbound transmission, converts the serial bit stream into the bytes that the computer handles.
  • Adds a parity bit(if it's been selected) on outbound transmissions and checks the parity of incoming bytes(if selected) and discards the parity bit.
  • Adds start and stop delineators on outbound and strips them from inbound transmissions.
  • Handles interrupts from the keyboard and mouse.(which are serial devices with special ports)
  • May handle other kinds of interrupt and device management that require coordinating the computer's speed of operation with device speeds.
  • Provide some amount of buffering of data so that the computer and serial devices data streams remain coordinated.