HAL_UART_Receive_DMA() function
Receives an amount of data in DMA mode.
Arguments
huart
Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module.
pData
Pointer to data buffer (u8 or u16 data elements).
Size
Amount of data elements (u8 or u16) to be received.
Return value
HAL status
Notes
When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M0 = 01), the received data is handled as a set of u16. In this case, Size must indicate the number of u16 available through pData. When the UART parity is enabled (PCE = 1) the received data contains the parity bit.
Examples
HAL_UART_Receive_DMA() is referenced by
13 libraries and example projects.
Functions called by HAL_UART_Receive_DMA()
HAL_UART_Receive_DMA()
Data read by HAL_UART_Receive_DMA()
Data written by HAL_UART_Receive_DMA()
HAL_UART_Receive_DMA()
Type of HAL_UART_Receive_DMA()
HAL_UART_Receive_DMA()