HAL USART Generic Driver
Function description
Parameters
Return values
HAL_USART_Receive_DMA
Function name
Function description
Parameters
Return values
Notes
HAL_USART_TransmitReceive_DMA
Function name
Function description
Parameters
Return values
Notes
HAL_USART_DMAPause
Function name
680/1371
Size)
Simplex Send an amount of data in non-blocking mode.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
pTxData: Pointer to data buffer
Size: Amount of data to be sent
HAL: status
HAL_StatusTypeDef HAL_USART_Receive_DMA
(USART_HandleTypeDef * husart, uint8_t * pRxData, uint16_t
Size)
Full-Duplex Receive an amount of data in non-blocking mode.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
pRxData: Pointer to data buffer
Size: Amount of data to be received
HAL: status
The USART DMA transmit stream must be configured in
order to generate the clock for the slave.
When the USART parity is enabled (PCE = 1) the data
received contain the parity bit.
HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA
(USART_HandleTypeDef * husart, uint8_t * pTxData, uint8_t *
pRxData, uint16_t Size)
Full-Duplex Transmit Receive an amount of data in non-blocking
mode.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
pTxData: Pointer to data transmitted buffer
pRxData: Pointer to data received buffer
Size: Amount of data to be received
HAL: status
When the USART parity is enabled (PCE = 1) the data
received contain the parity bit.
HAL_StatusTypeDef HAL_USART_DMAPause
(USART_HandleTypeDef * husart)
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers