EasyManua.ls Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #249 background imageLoading...
Page #249 background image
UART
22 UART
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
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 ROM_UART9BitAddrSend (uint32_t ui32Base, uint8_t ui8Addr)
void ROM_UART9BitAddrSet (uint32_t ui32Base, uint8_t ui8Addr, uint8_t ui8Mask)
void ROM_UART9BitDisable (uint32_t ui32Base)
void ROM_UART9BitEnable (uint32_t ui32Base)
void ROM_UARTBreakCtl (uint32_t ui32Base, bool bBreakState)
bool ROM_UARTBusy (uint32_t ui32Base)
int32_t ROM_UARTCharGet (uint32_t ui32Base)
int32_t ROM_UARTCharGetNonBlocking (uint32_t ui32Base)
void ROM_UARTCharPut (uint32_t ui32Base, uint8_t ui8Data)
bool ROM_UARTCharPutNonBlocking (uint32_t ui32Base, uint8_t ui8Data)
bool ROM_UARTCharsAvail (uint32_t ui32Base)
uint32_t ROM_UARTClockSourceGet (uint32_t ui32Base)
April 8, 2013 249
Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
CoreARM Cortex-M4F
Clock Speed80 MHz
Flash Memory256 KB
SRAM32 KB
GPIO Pins43
UART8
I2C2
SPI/SSI4
USBUSB 2.0
Timers6
Communication InterfacesUART, I2C, SPI, USB
Operating Temperature-40°C to 85°C
PackageLQFP64

Summary

Boot Loader

Introduction

Explains the ROM-based boot loader and its interfaces for flash updates.

Serial Interfaces

Details the UART, SSI, and I2C interfaces used by the boot loader.

USB Interface

Describes the USB boot loader functionality using the DFU protocol.

Controller Area Network (CAN)

Flash

GPIO

Hibernation Module

Inter-Integrated Circuit (I2C)

Interrupt Controller (NVIC)

Memory Protection Unit (MPU)

Pulse Width Modulator (PWM)

Synchronous Serial Interface (SSI)

System Control

Timer

UART

uDMA Controller

USB Controller

Watchdog Timer

Functions

Lists and describes API functions for watchdog timer configuration, interrupts, and lock mechanism.

Related product manuals