libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Enabling Direct Memory Access transfers for the UART More...
Functions | |
void | uart_enable_rx_dma (uint32_t uart) |
Enable the UART Receive DMA. More... | |
void | uart_disable_rx_dma (uint32_t uart) |
Disable the UART Receive DMA. More... | |
void | uart_enable_tx_dma (uint32_t uart) |
Enable the UART Transmit DMA. More... | |
void | uart_disable_tx_dma (uint32_t uart) |
Disable the UART Transmit DMA. More... | |
Enabling Direct Memory Access transfers for the UART
void uart_disable_rx_dma | ( | uint32_t | uart | ) |
Disable the UART Receive DMA.
[in] | uart | UART block register address base UART register base addresses |
Definition at line 537 of file uart.c.
References UART_DMACTL.
void uart_disable_tx_dma | ( | uint32_t | uart | ) |
Disable the UART Transmit DMA.
[in] | uart | UART block register address base UART register base addresses |
Definition at line 557 of file uart.c.
References UART_DMACTL.
void uart_enable_rx_dma | ( | uint32_t | uart | ) |
Enable the UART Receive DMA.
[in] | uart | UART block register address base UART register base addresses |
Definition at line 527 of file uart.c.
References UART_DMACTL, and UART_DMACTL_RXDMAE.
void uart_enable_tx_dma | ( | uint32_t | uart | ) |
Enable the UART Transmit DMA.
[in] | uart | UART block register address base UART register base addresses |
Definition at line 547 of file uart.c.
References UART_DMACTL, and UART_DMACTL_TXDMAE.