UART
22.2.1.34 ROM_UARTSpaceAvail
Determines if there is any space in the transmit FIFO.
Prototype:
bool
ROM_UARTSpaceAvail(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_UARTSpaceAvail is a function pointer located at ROM_UARTTABLE[12].
Parameters:
ui32Base is the base address of the UART port.
Description:
This function returns a flag indicating whether or not there is space available in the transmit
FIFO.
Returns:
Returns true if there is space available in the transmit FIFO or false if there is no space
available in the transmit FIFO.
22.2.1.35 ROM_UARTTxIntModeGet
Returns the current operating mode for the UART transmit interrupt.
Prototype:
uint32_t
ROM_UARTTxIntModeGet(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_UARTTxIntModeGet is a function pointer located at ROM_UARTTABLE[28].
Parameters:
ui32Base is the base address of the UART port.
Description:
This function returns the current operating mode for the UART transmit interrupt. The return
value is UART_TXINT_MODE_EOT if the transmit interrupt is currently set to be asserted
once the transmitter is completely idle - the transmit FIFO is empty and all bits, including any
stop bits, have cleared the transmitter. The return value is UART_TXINT_MODE_FIFO if the
interrupt is set to be asserted based upon the level of the transmit FIFO.
Returns:
Returns UART_TXINT_MODE_FIFO or UART_TXINT_MODE_EOT.
268 April 8, 2013