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 #254 background imageLoading...
Page #254 background image
UART
Description:
Gets a character from the receive FIFO for the specified port. If there are no characters avail-
able, this function waits until a character is received before returning.
Returns:
Returns the character read from the specified port, cast as a int32_t.
22.2.1.8 ROM_UARTCharGetNonBlocking
Receives a character from the specified port.
Prototype:
int32_t
ROM_UARTCharGetNonBlocking(uint32_t ui32Base)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_UARTTABLE is an array of pointers located at ROM_APITABLE[1].
ROM_UARTCharGetNonBlocking is a function pointer located at ROM_UARTTABLE[13].
Parameters:
ui32Base is the base address of the UART port.
Description:
Gets a character from the receive FIFO for the specified port.
Returns:
Returns the character read from the specified port, cast as a int32_t. A -1 is returned if there
are no characters present in the receive FIFO. The ROM_UARTCharsAvail() function should
be called before attempting to call this function.
22.2.1.9 ROM_UARTCharPut
Waits to send a character from the specified port.
Prototype:
void
ROM_UARTCharPut(uint32_t ui32Base,
uint8_t ui8Data)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_UARTTABLE is an array of pointers located at ROM_APITABLE[1].
ROM_UARTCharPut is a function pointer located at ROM_UARTTABLE[0].
Parameters:
ui32Base is the base address of the UART port.
ui8Data is the character to be transmitted.
Description:
Sends the character ui8Data to the transmit FIFO for the specified port. If there is no space
available in the transmit FIFO, this function waits until there is space available before returning.
254 April 8, 2013
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