Macros | |
#define | __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART FE pending flag. More... | |
#define | __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag. More... | |
#define | __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag. More... | |
#define | __HAL_UART_CLEAR_FEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag. More... | |
#define | __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clears the specified UART pending flag. More... | |
#define | __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag. More... | |
#define | __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag. More... | |
#define | __HAL_UART_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag. More... | |
#define | __HAL_UART_CLEAR_IDLEFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART IDLE pending flag. More... | |
#define | __HAL_UART_CLEAR_IDLEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag. More... | |
#define | __HAL_UART_CLEAR_IDLEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag. More... | |
#define | __HAL_UART_CLEAR_IDLEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag. More... | |
#define | __HAL_UART_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag. More... | |
#define | __HAL_UART_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag. More... | |
#define | __HAL_UART_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag. More... | |
#define | __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART NE pending flag. More... | |
#define | __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag. More... | |
#define | __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag. More... | |
#define | __HAL_UART_CLEAR_NEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag. More... | |
#define | __HAL_UART_CLEAR_OREFLAG(__HANDLE__) __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART ORE pending flag. More... | |
#define | __HAL_UART_CLEAR_OREFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag. More... | |
#define | __HAL_UART_CLEAR_OREFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag. More... | |
#define | __HAL_UART_CLEAR_OREFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag. More... | |
#define | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART PE pending flag. More... | |
#define | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag. More... | |
#define | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag. More... | |
#define | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag. More... | |
#define | __HAL_UART_CLEAR_TXFECF(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_TXFECF) |
Clear the UART TX FIFO empty clear flag. More... | |
#define | __HAL_UART_CLEAR_TXFECF(__HANDLE__) __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_TXFECF) |
Clear the UART TX FIFO empty clear flag. More... | |
#define | __HAL_UART_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART. More... | |
#define | __HAL_UART_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART. More... | |
#define | __HAL_UART_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART. More... | |
#define | __HAL_UART_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART. More... | |
#define | __HAL_UART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified UART interrupt. More... | |
#define | __HAL_UART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified UART interrupt. More... | |
#define | __HAL_UART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified UART interrupt. More... | |
#define | __HAL_UART_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified UART interrupt. More... | |
#define | __HAL_UART_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART. More... | |
#define | __HAL_UART_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART. More... | |
#define | __HAL_UART_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART. More... | |
#define | __HAL_UART_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART. More... | |
#define | __HAL_UART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified UART interrupt. More... | |
#define | __HAL_UART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified UART interrupt. More... | |
#define | __HAL_UART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified UART interrupt. More... | |
#define | __HAL_UART_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified UART interrupt. More... | |
#define | __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) ((__HANDLE__)->Instance->DR) |
Flushes the UART DR register. More... | |
#define | __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) |
Flush the UART Data registers. More... | |
#define | __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) |
Flush the UART Data registers. More... | |
#define | __HAL_UART_FLUSH_DRREGISTER(__HANDLE__) |
Flush the UART Data registers. More... | |
#define | __HAL_UART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified UART flag is set or not. More... | |
#define | __HAL_UART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not. More... | |
#define | __HAL_UART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not. More... | |
#define | __HAL_UART_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not. More... | |
#define | __HAL_UART_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt has occurred or not. More... | |
#define | __HAL_UART_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt has occurred or not. More... | |
#define | __HAL_UART_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt has occurred or not. More... | |
#define | __HAL_UART_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt source is enabled or not. More... | |
#define | __HAL_UART_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt source is enabled or not. More... | |
#define | __HAL_UART_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified UART interrupt source is enabled or not. More... | |
#define | __HAL_UART_GET_IT_SOURCE(__HANDLE__, __IT__) |
Checks whether the specified UART interrupt source is enabled or not. More... | |
#define | __HAL_UART_HWCONTROL_CTS_DISABLE(__HANDLE__) |
Disable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_DISABLE(__HANDLE__) |
Disable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_DISABLE(__HANDLE__) |
Disable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_DISABLE(__HANDLE__) |
Disable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_ENABLE(__HANDLE__) |
Enable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_ENABLE(__HANDLE__) |
Enable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_ENABLE(__HANDLE__) |
Enable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_CTS_ENABLE(__HANDLE__) |
Enable CTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_DISABLE(__HANDLE__) |
Disable RTS flow control This macro allows to disable RTS hardware flow control for a given UART instance, without need to call HAL_UART_Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. More... | |
#define | __HAL_UART_HWCONTROL_RTS_DISABLE(__HANDLE__) |
Disable RTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_DISABLE(__HANDLE__) |
Disable RTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_DISABLE(__HANDLE__) |
Disable RTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_ENABLE(__HANDLE__) |
Enable RTS flow control This macro allows to enable RTS hardware flow control for a given UART instance, without need to call HAL_UART_Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. More... | |
#define | __HAL_UART_HWCONTROL_RTS_ENABLE(__HANDLE__) |
Enable RTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_ENABLE(__HANDLE__) |
Enable RTS flow control. More... | |
#define | __HAL_UART_HWCONTROL_RTS_ENABLE(__HANDLE__) |
Enable RTS flow control. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) |
Macro to disable the UART's one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Macro to enable the UART's one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method. More... | |
#define | __HAL_UART_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method. More... | |
#define | __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) |
Reset UART handle gstate & RxState. More... | |
#define | __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) |
Reset UART handle states. More... | |
#define | __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) |
Reset UART handle states. More... | |
#define | __HAL_UART_RESET_HANDLE_STATE(__HANDLE__) |
Reset UART handle states. More... | |
#define | __HAL_UART_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag. More... | |
#define | __HAL_UART_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag. More... | |
#define | __HAL_UART_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag. More... | |
#define __HAL_UART_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART FE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 472 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 809 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 850 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_FEF) |
Clear the UART FE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 890 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clears the specified UART pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 450 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 797 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 838 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified UART pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values:
|
None |
Definition at line 878 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART IDLE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 496 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 827 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 868 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_IDLEF) |
Clear the UART IDLE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 908 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>IT_CLEAR</strong> | specifies the interrupt clear register flag that needs to be set to clear the corresponding interrupt This parameter can be one of the following values:
|
None |
Definition at line 974 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>IT_CLEAR</strong> | specifies the interrupt clear register flag that needs to be set to clear the corresponding interrupt This parameter can be one of the following values:
|
None |
Definition at line 1037 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified UART ISR flag, in setting the proper ICR register flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>IT_CLEAR</strong> | specifies the interrupt clear register flag that needs to be set to clear the corresponding interrupt This parameter can be one of the following values:
|
None |
Definition at line 1092 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART NE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 480 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 815 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 856 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_NEF) |
Clear the UART NE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 896 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_PEFLAG(__HANDLE__) |
Clears the UART ORE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 488 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 821 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 862 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_OREF) |
Clear the UART ORE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 902 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_PEFLAG | ( | __HANDLE__ | ) |
Clears the UART PE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 458 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_CLEAR_PEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 803 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_CLEAR_PEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 844 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_PEFLAG | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_PEF) |
Clear the UART PE pending flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 884 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_TXFECF | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_TXFECF) |
Clear the UART TX FIFO empty clear flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 874 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_CLEAR_TXFECF | ( | __HANDLE__ | ) | __HAL_UART_CLEAR_FLAG((__HANDLE__), UART_CLEAR_TXFECF) |
Clear the UART TX FIFO empty clear flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 914 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 658 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1011 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1074 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1129 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 534 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to disable. This parameter can be one of the following values: #if defined(USART_CR1_UESM)
|
None |
Definition at line 905 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 961 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 1006 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 652 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1005 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1068 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1123 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 514 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to enable. This parameter can be one of the following values: #if defined(USART_CR1_UESM)
|
None |
Definition at line 881 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 933 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified UART interrupt.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 973 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_FLUSH_DRREGISTER | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->DR) |
Flushes the UART DR register.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
Definition at line 406 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_FLUSH_DRREGISTER | ( | __HANDLE__ | ) |
Flush the UART Data registers.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 772 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_FLUSH_DRREGISTER | ( | __HANDLE__ | ) |
Flush the UART Data registers.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 814 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_FLUSH_DRREGISTER | ( | __HANDLE__ | ) |
Flush the UART Data registers.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 854 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified UART flag is set or not.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>FLAG</strong> | 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 426 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values: #if defined(USART_ISR_REACK)
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 860 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | 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 908 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified UART flag is set or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>FLAG</strong> | 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 948 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt to check. This parameter can be one of the following values: #if defined(USART_CR1_UESM)
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 928 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 988 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 1039 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to check. This parameter can be one of the following values: #if defined(USART_CR1_UESM)
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 950 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 1014 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified UART interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>INTERRUPT</strong> | specifies the UART interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (SET or RESET). |
Definition at line 1065 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_GET_IT_SOURCE | ( | __HANDLE__, | |
__IT__ | |||
) |
Checks whether the specified UART interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>IT</strong> | specifies the UART interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 553 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_DISABLE | ( | __HANDLE__ | ) |
Disable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. The Handle Instance can be any USARTx (supporting the HW Flow control feature). It is used to select the USART peripheral (USART availability and x value depending on device). |
None |
Definition at line 590 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_DISABLE | ( | __HANDLE__ | ) |
Disable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1043 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_DISABLE | ( | __HANDLE__ | ) |
Disable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1106 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_DISABLE | ( | __HANDLE__ | ) |
Disable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1163 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_ENABLE | ( | __HANDLE__ | ) |
Enable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. The Handle Instance can be any USARTx (supporting the HW Flow control feature). It is used to select the USART peripheral (USART availability and x value depending on device). |
None |
Definition at line 570 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_ENABLE | ( | __HANDLE__ | ) |
Enable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1025 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_ENABLE | ( | __HANDLE__ | ) |
Enable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1088 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_CTS_ENABLE | ( | __HANDLE__ | ) |
Enable CTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1144 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_DISABLE | ( | __HANDLE__ | ) |
Disable RTS flow control This macro allows to disable RTS hardware flow control for a given UART instance, without need to call HAL_UART_Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user.
<strong>HANDLE</strong> | specifies the UART Handle. The Handle Instance can be any USARTx (supporting the HW Flow control feature). It is used to select the USART peripheral (USART availability and x value depending on device). |
None |
Definition at line 630 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_DISABLE | ( | __HANDLE__ | ) |
Disable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1079 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_DISABLE | ( | __HANDLE__ | ) |
Disable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1142 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_DISABLE | ( | __HANDLE__ | ) |
Disable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1201 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_ENABLE | ( | __HANDLE__ | ) |
Enable RTS flow control This macro allows to enable RTS hardware flow control for a given UART instance, without need to call HAL_UART_Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user.
<strong>HANDLE</strong> | specifies the UART Handle. The Handle Instance can be any USARTx (supporting the HW Flow control feature). It is used to select the USART peripheral (USART availability and x value depending on device). |
None |
Definition at line 610 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_ENABLE | ( | __HANDLE__ | ) |
Enable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1061 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_ENABLE | ( | __HANDLE__ | ) |
Enable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1124 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_HWCONTROL_RTS_ENABLE | ( | __HANDLE__ | ) |
Enable RTS flow control.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1182 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) |
Macro to disable the UART's one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 646 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 999 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1062 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 &= ~USART_CR3_ONEBIT) |
Disable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1117 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Macro to enable the UART's one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 640 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 993 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1056 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the UART one bit sample method.
<strong>HANDLE</strong> | specifies the UART Handle. |
None |
Definition at line 1111 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset UART handle gstate & RxState.
<strong>HANDLE</strong> | specifies the UART Handle. UART Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 395 of file stm32f4xx_hal_uart.h.
#define __HAL_UART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset UART handle states.
<strong>HANDLE</strong> | UART handle. |
None |
Definition at line 762 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset UART handle states.
<strong>HANDLE</strong> | UART handle. |
None |
Definition at line 804 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset UART handle states.
<strong>HANDLE</strong> | UART handle. |
None |
Definition at line 844 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 987 of file stm32f7xx_hal_uart.h.
#define __HAL_UART_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 1050 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.
#define __HAL_UART_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific UART request flag.
<strong>HANDLE</strong> | specifies the UART Handle. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 1105 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_uart.h.