UART
bBreakState controls the output level.
Description:
Calling this function with bBreakState set to true asserts a break condition on the UART. Calling
this function with bBreakState set to false removes the break condition. For proper transmis-
sion of a break command, the break must be asserted for at least two complete frames.
Returns:
None.
22.2.1.6 ROM_UARTBusy
Determines whether the UART transmitter is busy or not.
Prototype:
bool
ROM_UARTBusy(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_UARTBusy is a function pointer located at ROM_UARTTABLE[26].
Parameters:
ui32Base is the base address of the UART port.
Description:
Allows the caller to determine whether all transmitted bytes have cleared the transmitter hard-
ware. If false is returned, the transmit FIFO is empty and all bits of the last transmitted char-
acter, including all stop bits, have left the hardware shift register.
Returns:
Returns true if the UART is transmitting or false if all transmissions are complete.
22.2.1.7 ROM_UARTCharGet
Waits for a character from the specified port.
Prototype:
int32_t
ROM_UARTCharGet(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_UARTCharGet is a function pointer located at ROM_UARTTABLE[14].
Parameters:
ui32Base is the base address of the UART port.
April 8, 2013 253