Go to the documentation of this file.
49 #ifdef HAL_UART_MODULE_ENABLED
60 #if defined(USART_CR1_UESM)
151 uint32_t DeassertionTime)
177 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
178 UART_InitCallbacksToDefault(
huart);
255 #if defined(USART_CR3_UCESM)
338 #if defined(USART_CR1_UESM)
374 UARTEx_Wakeup_AddressConfig(
huart, WakeUpSelection);
451 #if defined(USART_CR1_UESM)
#define assert_param(expr)
Include module's header file.
HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength)
#define IS_UART_ADDRESSLENGTH_DETECT(__ADDRESS__)
Ensure that UART wake-up address length is valid.
#define UART_CR1_DEDT_ADDRESS_LSB_POS
HAL_StatusTypeDef
HAL Status structures definition
HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection)
#define UART_WAKEUP_ON_ADDRESS
#define UART_ADVFEATURE_NO_INIT
void UART_AdvFeatureConfig(UART_HandleTypeDef *huart)
HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart)
UART handle Structure definition.
#define __HAL_UART_ENABLE(__HANDLE__)
Enable UART.
#define __HAL_UART_DISABLE(__HANDLE__)
Disable UART.
#define CLEAR_BIT(REG, BIT)
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
#define UART_CR2_ADDRESS_LSB_POS
void HAL_UART_MspInit(UART_HandleTypeDef *huart)
UART MSP Initialization This function configures the hardware resources used in this example.
HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart)
#define IS_UART_DE_POLARITY(__POLARITY__)
Ensure that UART driver enable polarity is valid.
HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart)
UART wake up from stop mode parameters.
#define __HAL_LOCK(__HANDLE__)
#define MODIFY_REG(REG, CLEARMASK, SETMASK)
#define IS_UART_DRIVER_ENABLE_INSTANCE(__INSTANCE__)
#define HAL_UART_TIMEOUT_VALUE
#define __HAL_UNLOCK(__HANDLE__)
#define IS_UART_ASSERTIONTIME(__TIME__)
Check UART assertion time.
UART_AdvFeatureInitTypeDef AdvancedInit
__IO HAL_UART_StateTypeDef gState
HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart)
#define IS_UART_WAKEUP_SELECTION(__WAKE__)
Ensure that UART wake-up selection is valid.
#define IS_UART_DEASSERTIONTIME(__TIME__)
Check UART deassertion time.
HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout)
#define UART_CR1_DEAT_ADDRESS_LSB_POS
HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime)
#define SET_BIT(REG, BIT)
#define IS_UART_WAKEUP_FROMSTOP_INSTANCE(__INSTANCE__)
This file contains all the functions prototypes for the HAL module driver.