UART - PalouseRobosub/SUBLIBinal GitHub Wiki
UART (Universal Asychronous Receiver-Transmitter)
This page contains information regarding the implementation and use of the UART peripheral library in SUBLIBinal. The library allows for the easy configuration of multiple baud rates and different UART channels. UART library documentation has been divided into three subsections. The subsections include the enumeration definitions, structure definitions, and available functions. Please refer to the following list to be directed to the appropriate documentation.
UART Implementation
To view an example of UART implementation utilizing the SUBLIBinal library, please look at the UART Example.
What is UART?
UART is one of the easiest and most universal communication protocols for embedded devices. UART communicates through a receive terminal and a transmit terminal and does not require a special line for clock. A baud rate is provided and set as a standard for two devices so that they can communicate effectively. Baud rate is defined as bits per second. UART is an extremely useful tool for talking to laptop and desktop computers and peripheral sensors. The Packetizer library implementation is a higher level library that implements UART in a packetized format to ensure synchronization of information. Please refer to the Packetizer documentation for more information.