STM32L486xx HAL User Manual
|
UART control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_MultiProcessor_EnableMuteMode (UART_HandleTypeDef *huart) |
Enable UART in mute mode (does not mean UART enters mute mode; to enter mute mode, HAL_MultiProcessor_EnterMuteMode() API must be called). | |
HAL_StatusTypeDef | HAL_MultiProcessor_DisableMuteMode (UART_HandleTypeDef *huart) |
Disable UART mute mode (does not mean the UART actually exits mute mode as it may not have been in mute mode at this very moment). | |
void | HAL_MultiProcessor_EnterMuteMode (UART_HandleTypeDef *huart) |
Enter UART mute mode (means UART actually enters mute mode). | |
HAL_StatusTypeDef | HAL_HalfDuplex_EnableTransmitter (UART_HandleTypeDef *huart) |
Enable the UART transmitter and disable the UART receiver. | |
HAL_StatusTypeDef | HAL_HalfDuplex_EnableReceiver (UART_HandleTypeDef *huart) |
Enable the UART receiver and disable the UART transmitter. | |
HAL_StatusTypeDef | HAL_LIN_SendBreak (UART_HandleTypeDef *huart) |
Transmit break characters. |
UART control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to control the UART. (+) HAL_MultiProcessor_EnableMuteMode() API enables mute mode (+) HAL_MultiProcessor_DisableMuteMode() API disables mute mode (+) HAL_MultiProcessor_EnterMuteMode() API enters mute mode (+) HAL_MultiProcessor_EnableMuteMode() API enables mute mode (+) UART_SetConfig() API configures the UART peripheral (+) UART_AdvFeatureConfig() API optionally configures the UART advanced features (+) UART_CheckIdleState() API ensures that TEACK and/or REACK are set after initialization (+) UART_Wakeup_AddressConfig() API configures the wake-up from stop mode parameters (+) HAL_HalfDuplex_EnableTransmitter() API disables receiver and enables transmitter (+) HAL_HalfDuplex_EnableReceiver() API disables transmitter and enables receiver (+) HAL_LIN_SendBreak() API transmits the break characters
HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver | ( | UART_HandleTypeDef * | huart | ) |
Enable the UART receiver and disable the UART transmitter.
huart | UART handle. |
HAL | status. |
Definition at line 2651 of file stm32l4xx_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 | ) |
Enable the UART transmitter and disable the UART receiver.
huart | UART handle. |
HAL | status |
Definition at line 2626 of file stm32l4xx_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 | ) |
Transmit break characters.
huart | UART handle. |
HAL | status |
Definition at line 2677 of file stm32l4xx_hal_uart.c.
References assert_param, __UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, __UART_HandleTypeDef::Instance, and UART_SENDBREAK_REQUEST.
HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode | ( | UART_HandleTypeDef * | huart | ) |
Disable UART mute mode (does not mean the UART actually exits mute mode as it may not have been in mute mode at this very moment).
huart | UART handle. |
HAL | status |
Definition at line 2595 of file stm32l4xx_hal_uart.c.
References __UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, __UART_HandleTypeDef::Instance, and UART_CheckIdleState().
HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode | ( | UART_HandleTypeDef * | huart | ) |
Enable UART in mute mode (does not mean UART enters mute mode; to enter mute mode, HAL_MultiProcessor_EnterMuteMode() API must be called).
huart | UART handle. |
HAL | status |
Definition at line 2574 of file stm32l4xx_hal_uart.c.
References __UART_HandleTypeDef::gState, HAL_UART_STATE_BUSY, HAL_UART_STATE_READY, __UART_HandleTypeDef::Instance, and UART_CheckIdleState().
void HAL_MultiProcessor_EnterMuteMode | ( | UART_HandleTypeDef * | huart | ) |
Enter UART mute mode (means UART actually enters mute mode).
huart | UART handle. |
None |
Definition at line 2616 of file stm32l4xx_hal_uart.c.
References __HAL_UART_SEND_REQ, and UART_MUTE_MODE_REQUEST.