UART
ui8Addr is the address to be transmitted.
Description:
This function waits until all data has been sent from the specified port and then sends the given
address as an address byte. It then waits until the address byte has been transmitted before
returning.
The normal data functions (ROM_UARTCharPut(), ROM_UARTCharPutNonBlocking(),
ROM_UARTCharGet(), and ROM_UARTCharGetNonBlocking()) are used to send and receive
data characters in 9-bit mode.
Returns:
None.
22.2.1.2 ROM_UART9BitAddrSet
Sets the device address(es) for 9-bit mode.
Prototype:
void
ROM_UART9BitAddrSet(uint32_t ui32Base,
uint8_t ui8Addr,
uint8_t ui8Mask)
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_UART9BitAddrSet is a function pointer located at ROM_UARTTABLE[35].
Parameters:
ui32Base is the base address of the UART port.
ui8Addr is the device address.
ui8Mask is the device address mask.
Description:
This function sets the device address, or range of device addresses, that respond to requests
on the 9-bit UART port. The received address is masked with the mask and then compared
against the given address, allowing either a single address (if ui8Mask is 0xff) or a set of
addresses to be matched.
Returns:
None.
22.2.1.3 ROM_UART9BitDisable
Disables 9-bit mode on the specified UART.
Prototype:
void
ROM_UART9BitDisable(uint32_t ui32Base)
April 8, 2013 251