STM32H735xx HAL User Manual
Functions
UARTEx Private Functions
UARTEx

Functions

static void UARTEx_Wakeup_AddressConfig (UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection)
 Initialize the UART wake-up from stop mode parameters when triggered by address detection.
static void UARTEx_SetNbDataToProcess (UART_HandleTypeDef *huart)
 Calculate the number of data to process in RX/TX ISR.

Function Documentation

static void UARTEx_SetNbDataToProcess ( UART_HandleTypeDef huart) [static]

Calculate the number of data to process in RX/TX ISR.

Note:
The RX FIFO depth and the TX FIFO depth is extracted from the UART configuration registers.
Parameters:
huartUART handle.
Return values:
None

Definition at line 979 of file stm32h7xx_hal_uart_ex.c.

References __UART_HandleTypeDef::FifoMode, __UART_HandleTypeDef::Instance, __UART_HandleTypeDef::NbRxDataToProcess, __UART_HandleTypeDef::NbTxDataToProcess, RX_FIFO_DEPTH, TX_FIFO_DEPTH, and UART_FIFOMODE_DISABLE.

Referenced by HAL_UARTEx_EnableFifoMode(), HAL_UARTEx_SetRxFifoThreshold(), and HAL_UARTEx_SetTxFifoThreshold().

static void UARTEx_Wakeup_AddressConfig ( UART_HandleTypeDef huart,
UART_WakeUpTypeDef  WakeUpSelection 
) [static]

Initialize the UART wake-up from stop mode parameters when triggered by address detection.

Parameters:
huartUART handle.
WakeUpSelectionUART wake up from stop mode parameters.
Return values:
None

Definition at line 961 of file stm32h7xx_hal_uart_ex.c.

References UART_WakeUpTypeDef::Address, UART_WakeUpTypeDef::AddressLength, assert_param, __UART_HandleTypeDef::Instance, IS_UART_ADDRESSLENGTH_DETECT, and UART_CR2_ADDRESS_LSB_POS.

Referenced by HAL_UARTEx_StopModeWakeUpSourceConfig().