libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
UART DMA control

Enabling Direct Memory Access transfers for the UART More...

Collaboration diagram for UART DMA control:

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...
 

Detailed Description

Enabling Direct Memory Access transfers for the UART

Function Documentation

◆ uart_disable_rx_dma()

void uart_disable_rx_dma ( uint32_t  uart)

Disable the UART Receive DMA.

Parameters
[in]uartUART block register address base UART register base addresses

Definition at line 537 of file uart.c.

References UART_DMACTL.

◆ uart_disable_tx_dma()

void uart_disable_tx_dma ( uint32_t  uart)

Disable the UART Transmit DMA.

Parameters
[in]uartUART block register address base UART register base addresses

Definition at line 557 of file uart.c.

References UART_DMACTL.

◆ uart_enable_rx_dma()

void uart_enable_rx_dma ( uint32_t  uart)

Enable the UART Receive DMA.

Parameters
[in]uartUART block register address base UART register base addresses

Definition at line 527 of file uart.c.

References UART_DMACTL, and UART_DMACTL_RXDMAE.

◆ uart_enable_tx_dma()

void uart_enable_tx_dma ( uint32_t  uart)

Enable the UART Transmit DMA.

Parameters
[in]uartUART block register address base UART register base addresses

Definition at line 547 of file uart.c.

References UART_DMACTL, and UART_DMACTL_TXDMAE.