STM32F439xx HAL User Manual
|
UART control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_LIN_SendBreak (UART_HandleTypeDef *huart) |
Transmits break characters. | |
HAL_StatusTypeDef | HAL_MultiProcessor_EnterMuteMode (UART_HandleTypeDef *huart) |
Enters the UART in mute mode. | |
HAL_StatusTypeDef | HAL_MultiProcessor_ExitMuteMode (UART_HandleTypeDef *huart) |
Exits the UART mute mode: wake up software. | |
HAL_StatusTypeDef | HAL_HalfDuplex_EnableTransmitter (UART_HandleTypeDef *huart) |
Enables the UART transmitter and disables the UART receiver. | |
HAL_StatusTypeDef | HAL_HalfDuplex_EnableReceiver (UART_HandleTypeDef *huart) |
Enables the UART receiver and disables the UART transmitter. |
UART control functions.
============================================================================== ##### Peripheral Control functions ##### ============================================================================== [..] This subsection provides a set of functions allowing to control the UART: (+) HAL_LIN_SendBreak() API can be helpful to transmit the break character. (+) HAL_MultiProcessor_EnterMuteMode() API can be helpful to enter the UART in mute mode. (+) HAL_MultiProcessor_ExitMuteMode() API can be helpful to exit the UART mute mode by software.
HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver | ( | UART_HandleTypeDef * | huart | ) |
Enables the UART receiver and disables the UART transmitter.
huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
HAL | status |
Definition at line 1906 of file stm32f4xx_hal_uart.c.
References UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, and UART_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter | ( | UART_HandleTypeDef * | huart | ) |
Enables the UART transmitter and disables the UART receiver.
huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
HAL | status |
Definition at line 1871 of file stm32f4xx_hal_uart.c.
References UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, and UART_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_LIN_SendBreak | ( | UART_HandleTypeDef * | huart | ) |
Transmits break characters.
huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
HAL | status |
Definition at line 1790 of file stm32f4xx_hal_uart.c.
References assert_param, UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, and UART_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_MultiProcessor_EnterMuteMode | ( | UART_HandleTypeDef * | huart | ) |
Enters the UART in mute mode.
huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
HAL | status |
Definition at line 1817 of file stm32f4xx_hal_uart.c.
References assert_param, UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, and UART_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_MultiProcessor_ExitMuteMode | ( | UART_HandleTypeDef * | huart | ) |
Exits the UART mute mode: wake up software.
huart | pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
HAL | status |
Definition at line 1844 of file stm32f4xx_hal_uart.c.
References assert_param, UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, and UART_HandleTypeDef::Instance.