UART
22
UART
22.1
Introduction
The Universal Asynchronous Receiver/Transmitter (UART) API provides a set of functions for using
the UART modules. Functions are provided to configure and control the UART modules, to send
and receive data, and to manage interrupts for the UART modules.
The UART performs the functions of parallel-to-serial and serial-to-parallel conversions. It is very
similar in functionality to a 16C550 UART, but is not register-compatible.
Some of the features of the UART are:
A 16x12 bit receive FIFO and a 16x8 bit transmit FIFO.
Programmable baud rate generator.
Automatic generation and stripping of start, stop, and parity bits.
Line break generation and detection.
Programmable serial interface
•
5, 6, 7, or 8 data bits
•
even, odd, stick, or no parity bit generation and detection
•
1 or 2 stop bit generation
•
baud rate generation, from DC to processor clock/16
IrDA serial-IR (SIR) encoder/decoder.
DMA interface
22.2
Functions
Functions
void
(uint32_t ui32Base, uint8_t ui8Addr)
void
(uint32_t ui32Base, uint8_t ui8Addr, uint8_t ui8Mask)
void
(uint32_t ui32Base)
void
(uint32_t ui32Base)
void
(uint32_t ui32Base, bool bBreakState)
bool
(uint32_t ui32Base)
int32_t
(uint32_t ui32Base)
int32_t
(uint32_t ui32Base)
void
(uint32_t ui32Base, uint8_t ui8Data)
bool
(uint32_t ui32Base, uint8_t ui8Data)
bool
(uint32_t ui32Base)
uint32_t
(uint32_t ui32Base)
April 8, 2013
249
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...