UART
22.2.1.19 ROM_UARTDMAEnable
Enable UART DMA operation.
Prototype:
void
ROM_UARTDMAEnable(uint32_t ui32Base,
uint32_t ui32DMAFlags)
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_UARTDMAEnable is a function pointer located at ROM_UARTTABLE[22].
Parameters:
ui32Base is the base address of the UART port.
ui32DMAFlags is a bit mask of the DMA features to enable.
Description:
The specified UART DMA features are enabled. The UART can be configured to use DMA for
transmit or receive, and to disable receive if an error occurs. The ui32DMAFlags parameter is
the logical OR of any of the following values:
UART_DMA_RX - enable DMA for receive
UART_DMA_TX - enable DMA for transmit
UART_DMA_ERR_RXSTOP - disable DMA receive on UART error
Note:
The uDMA controller must also be set up before DMA can be used with the UART.
Returns:
None.
22.2.1.20 ROM_UARTEnable
Enables transmitting and receiving.
Prototype:
void
ROM_UARTEnable(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_UARTEnable is a function pointer located at ROM_UARTTABLE[7].
Parameters:
ui32Base is the base address of the UART port.
Description:
Sets the UARTEN, TXE, and RXE bits, and enables the transmit and receive FIFOs.
Returns:
None.
260 April 8, 2013