|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
| #define | __HAL_USART_RESET_HANDLE_STATE(__HANDLE__) |
| Reset USART handle state. | |
| #define | __HAL_USART_GET_FLAG(__HANDLE__, __FLAG__) |
| Check whether the specified USART flag is set or not. | |
| #define | __HAL_USART_CLEAR_FLAG(__HANDLE__, __FLAG__) |
| Clear the specified USART pending flags. | |
| #define | __HAL_USART_CLEAR_PEFLAG(__HANDLE__) |
| Clear the USART PE pending flag. | |
| #define | __HAL_USART_CLEAR_FEFLAG(__HANDLE__) |
| Clear the USART FE pending flag. | |
| #define | __HAL_USART_CLEAR_NEFLAG(__HANDLE__) |
| Clear the USART NE pending flag. | |
| #define | __HAL_USART_CLEAR_OREFLAG(__HANDLE__) |
| Clear the USART ORE pending flag. | |
| #define | __HAL_USART_CLEAR_IDLEFLAG(__HANDLE__) |
| Clear the USART IDLE pending flag. | |
| #define | __HAL_USART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
| Enables or disables the specified USART interrupts. | |
| #define | __HAL_USART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| #define | __HAL_USART_GET_IT_SOURCE(__HANDLE__, __IT__) |
| Checks whether the specified USART interrupt has occurred or not. | |
| #define | __HAL_USART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) |
| Macro to enable the USART's one bit sample method. | |
| #define | __HAL_USART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) |
| Macro to disable the USART's one bit sample method. | |
| #define | __HAL_USART_ENABLE(__HANDLE__) |
| Enable USART. | |
| #define | __HAL_USART_DISABLE(__HANDLE__) |
| Disable USART. | |
| #define __HAL_USART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Reset USART handle state.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 335 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
#include <stm32f4xx_hal_usart.h>
Check whether the specified USART flag is set or not.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| __FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (TRUE or FALSE). |
Definition at line 353 of file stm32f4xx_hal_usart.h.
Referenced by USART_TransmitReceive_IT(), and USART_WaitOnFlagUntilTimeout().
| #define __HAL_USART_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
#include <stm32f4xx_hal_usart.h>
Clear the specified USART pending flags.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| __FLAG__ | specifies the flag to check. This parameter can be any combination of the following values:
|
| None |
Definition at line 374 of file stm32f4xx_hal_usart.h.
Referenced by HAL_USART_Transmit_DMA(), and HAL_USART_TransmitReceive_DMA().
| #define __HAL_USART_CLEAR_PEFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Clear the USART PE pending flag.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 381 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_CLEAR_FEFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Clear the USART FE pending flag.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 394 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_CLEAR_NEFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Clear the USART NE pending flag.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 401 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_CLEAR_OREFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Clear the USART ORE pending flag.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 408 of file stm32f4xx_hal_usart.h.
Referenced by HAL_USART_Receive_DMA(), and HAL_USART_TransmitReceive_DMA().
| #define __HAL_USART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Clear the USART IDLE pending flag.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 415 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
#include <stm32f4xx_hal_usart.h>
Enables or disables the specified USART interrupts.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| __INTERRUPT__ | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
| None |
Definition at line 430 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
#include <stm32f4xx_hal_usart.h>
Definition at line 433 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_GET_IT_SOURCE | ( | __HANDLE__, | |
| __IT__ ) |
#include <stm32f4xx_hal_usart.h>
Checks whether the specified USART interrupt has occurred or not.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| __IT__ | specifies the USART interrupt source to check. This parameter can be one of the following values:
|
| The | new state of IT (TRUE or FALSE). |
Definition at line 450 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Macro to enable the USART's one bit sample method.
| __HANDLE__ | specifies the USART Handle. |
| None |
Definition at line 457 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Macro to disable the USART's one bit sample method.
| __HANDLE__ | specifies the USART Handle. |
| None |
Definition at line 463 of file stm32f4xx_hal_usart.h.
| #define __HAL_USART_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Enable USART.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 471 of file stm32f4xx_hal_usart.h.
Referenced by HAL_USART_Init().
| #define __HAL_USART_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_usart.h>
Disable USART.
| __HANDLE__ | specifies the USART Handle. USART Handle selects the USARTx peripheral (USART availability and x value depending on device). |
| None |
Definition at line 478 of file stm32f4xx_hal_usart.h.
Referenced by HAL_USART_DeInit().