HAL + 0/51 examples
CodeScope will show references to HAL_UART_Transmit() from the following samples and libraries:
Examples
STM32446E-Nucleo
Examples
UART
STM32446E_EVAL
Applications
IAP
Examples
UART
STM32469I-Discovery
Applications
FileX
FX_IAP
ThreadX
USBX
Examples
UART
STM32469I_EVAL
Applications
IAP
Examples
UART
STM324x9I_EVAL
Applications
IAP
Examples
UART
STM324xG_EVAL
Applications
IAP
Examples
UART
STM32F4-Discovery
Examples
UART
STM32F401-Discovery
Examples
UART
STM32F401RE-Nucleo
Examples
UART
STM32F410xx-Nucleo
Examples
UART
STM32F411E-Discovery
Examples
UART
STM32F411RE-Nucleo
Examples
UART
Examples_MIX
UART
STM32F412G-Discovery
Examples
UART
STM32F412ZG-Nucleo
Examples
UART
STM32F413H-Discovery
Examples
UART
STM32F413ZH-Nucleo
Examples
UART
STM32F429I-Discovery
Examples
UART
STM32F429ZI-Nucleo
Applications
FileX
NetXDuo
ThreadX
USBX
Examples
UART
STM32F446ZE-Nucleo
Examples
UART
 
Symbols
loading...
Files
loading...

HAL_UART_Transmit() function

Sends an amount of data in blocking mode.

Syntax

HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart,     const uint8_t *pData,     uint16_t Size,     uint32_t Timeout);
Implemented in stm32f4xx_hal_uart.c:1135

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 sent

Timeout

Timeout duration

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 sent data is handled as a set of u16. In this case, Size must indicate the number of u16 provided through pData.

Examples

HAL_UART_Transmit() is referenced by 51 libraries and example projects.

References

LocationText
stm32f4xx_hal_uart.c:1135
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout)
stm32f4xx_hal_uart.h:745
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout);

Call Tree

Functions called by HAL_UART_Transmit()
HAL_UART_Transmit()
Type of HAL_UART_Transmit()
HAL_UART_Transmit()
uint16_t
uint32_t
uint8_t
all items filtered out