STM32L443xx HAL User Manual
|
Header file of UART HAL Extended module. More...
#include "stm32l4xx_hal_def.h"
Go to the source code of this file.
Data Structures | |
struct | UART_WakeUpTypeDef |
UART wake up from stop mode parameters. More... | |
Defines | |
#define | UART_WORDLENGTH_7B USART_CR1_M1 |
#define | UART_WORDLENGTH_8B 0x00000000U |
#define | UART_WORDLENGTH_9B USART_CR1_M0 |
#define | UART_ADDRESS_DETECT_4B 0x00000000U |
#define | UART_ADDRESS_DETECT_7B USART_CR2_ADDM7 |
#define | UART_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__) |
Report the UART clock source. | |
#define | UART_MASK_COMPUTATION(__HANDLE__) |
Report the UART mask to apply to retrieve the received data according to the word length and to the parity bits activation. | |
#define | IS_UART_WORD_LENGTH(__LENGTH__) |
Ensure that UART frame length is valid. | |
#define | IS_UART_ADDRESSLENGTH_DETECT(__ADDRESS__) |
Ensure that UART wake-up address length is valid. | |
Functions | |
HAL_StatusTypeDef | HAL_RS485Ex_Init (UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime) |
Initialize the RS485 Driver enable feature according to the specified parameters in the UART_InitTypeDef and creates the associated handle. | |
__weak void | HAL_UARTEx_WakeupCallback (UART_HandleTypeDef *huart) |
UART wakeup from Stop mode callback. | |
HAL_StatusTypeDef | HAL_UARTEx_StopModeWakeUpSourceConfig (UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection) |
Set Wakeup from Stop mode interrupt flag selection. | |
HAL_StatusTypeDef | HAL_UARTEx_EnableStopMode (UART_HandleTypeDef *huart) |
Enable UART Stop Mode. | |
HAL_StatusTypeDef | HAL_UARTEx_DisableStopMode (UART_HandleTypeDef *huart) |
Disable UART Stop Mode. | |
HAL_StatusTypeDef | HAL_UARTEx_EnableClockStopMode (UART_HandleTypeDef *huart) |
Keep UART Clock enabled when in Stop Mode. | |
HAL_StatusTypeDef | HAL_UARTEx_DisableClockStopMode (UART_HandleTypeDef *huart) |
Disable UART Clock when in Stop Mode. | |
HAL_StatusTypeDef | HAL_MultiProcessorEx_AddressLength_Set (UART_HandleTypeDef *huart, uint32_t AddressLength) |
By default in multiprocessor mode, when the wake up method is set to address mark, the UART handles only 4-bit long addresses detection; this API allows to enable longer addresses detection (6-, 7- or 8-bit long). | |
HAL_StatusTypeDef | HAL_UARTEx_ReceiveToIdle (UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, uint32_t Timeout) |
Receive an amount of data in blocking mode till either the expected number of data is received or an IDLE event occurs. | |
HAL_StatusTypeDef | HAL_UARTEx_ReceiveToIdle_IT (UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
Receive an amount of data in interrupt mode till either the expected number of data is received or an IDLE event occurs. | |
HAL_StatusTypeDef | HAL_UARTEx_ReceiveToIdle_DMA (UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
Receive an amount of data in DMA mode till either the expected number of data is received or an IDLE event occurs. |
Header file of UART HAL Extended module.
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32l4xx_hal_uart_ex.h.