HAL
HAL_USART_Transmit_IT() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_USART_Transmit_IT() function

Simplex Send an amount of data in non-blocking mode.

Syntax

HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart,     const uint8_t *pTxData,     uint16_t Size);
Implemented in stm32f4xx_hal_usart.c:1073

Arguments

husart

Pointer to a USART_HandleTypeDef structure that contains the configuration information for the specified USART module.

pTxData

Pointer to data buffer (u8 or u16 data elements).

Size

Amount of data elements (u8 or u16) to be sent.

Return value

HAL status

Notes

When USART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M0 = 01), the sent data is handled as a set of u16. In this case, Size must indicate the number of u16 provided through pTxData. The USART errors are not managed to avoid the overrun error.