UART control functions.
More...
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_HalfDuplex_EnableTransmitter() API to enable the UART transmitter and disables the UART receiver in Half Duplex mode
(+) HAL_HalfDuplex_EnableReceiver() API to enable the UART receiver and disables the UART transmitter in Half Duplex mode
◆ HAL_HalfDuplex_EnableReceiver()
Enables the UART receiver and disables the UART transmitter.
- Parameters
-
huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
- Return values
-
Definition at line 2871 of file stm32f4xx_hal_uart.c.
◆ HAL_HalfDuplex_EnableTransmitter()
Enables the UART transmitter and disables the UART receiver.
- Parameters
-
huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
- Return values
-
Definition at line 2836 of file stm32f4xx_hal_uart.c.
◆ HAL_LIN_SendBreak()
Transmits break characters.
- Parameters
-
huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
- Return values
-
Definition at line 2753 of file stm32f4xx_hal_uart.c.
◆ HAL_MultiProcessor_EnterMuteMode()
Enters the UART in mute mode.
- Parameters
-
huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
- Return values
-
Definition at line 2780 of file stm32f4xx_hal_uart.c.
◆ HAL_MultiProcessor_ExitMuteMode()
Exits the UART mute mode: wake up software.
- Parameters
-
huart | Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified UART module. |
- Return values
-
Definition at line 2808 of file stm32f4xx_hal_uart.c.