Macros | |
#define | __HAL_IRDA_CLEAR_FEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA FE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_FEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_FEF) |
Clear the IRDA FE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clear the specified IRDA pending flag. More... | |
#define | __HAL_IRDA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified IRDA pending flag. More... | |
#define | __HAL_IRDA_CLEAR_IDLEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA IDLE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_IDLEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_IDLEF) |
Clear the IRDA IDLE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified IRDA ISR flag, in setting the proper ICR register flag. More... | |
#define | __HAL_IRDA_CLEAR_NEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA NE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_NEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_NEF) |
Clear the IRDA NE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_OREFLAG(__HANDLE__) __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA ORE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_OREFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_OREF) |
Clear the IRDA ORE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA PE pending flag. More... | |
#define | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_PEF) |
Clear the IRDA PE pending flag. More... | |
#define | __HAL_IRDA_DISABLE(__HANDLE__) (CLEAR_BIT((__HANDLE__)->Instance->CR1, USART_CR1_UE)) |
Disable UART/USART associated to IRDA Handle. More... | |
#define | __HAL_IRDA_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART/USART associated to IRDA Handle. More... | |
#define | __HAL_IRDA_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_ENABLE(__HANDLE__) (SET_BIT((__HANDLE__)->Instance->CR1, USART_CR1_UE)) |
Enable UART/USART associated to IRDA Handle. More... | |
#define | __HAL_IRDA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART/USART associated to IRDA Handle. More... | |
#define | __HAL_IRDA_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_FLUSH_DRREGISTER(__HANDLE__) ((__HANDLE__)->Instance->DR) |
Flush the IRDA DR register. More... | |
#define | __HAL_IRDA_FLUSH_DRREGISTER(__HANDLE__) |
Flush the IRDA DR register. More... | |
#define | __HAL_IRDA_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified IRDA flag is set or not. More... | |
#define | __HAL_IRDA_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified IRDA flag is set or not. More... | |
#define | __HAL_IRDA_GET_IT(__HANDLE__, __INTERRUPT__) |
Check whether the specified IRDA interrupt has occurred or not. More... | |
#define | __HAL_IRDA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check whether the specified IRDA interrupt source is enabled or not. More... | |
#define | __HAL_IRDA_GET_IT_SOURCE(__HANDLE__, __IT__) |
Check whether the specified IRDA interrupt has occurred or not. More... | |
#define | __HAL_IRDA_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) |
Macro to disable the IRDA's one bit sample method. More... | |
#define | __HAL_IRDA_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) |
Disable the IRDA one bit sample method. More... | |
#define | __HAL_IRDA_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 |= USART_CR3_ONEBIT) |
Macro to enable the IRDA's one bit sample method. More... | |
#define | __HAL_IRDA_ONE_BIT_SAMPLE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the IRDA one bit sample method. More... | |
#define | __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) |
Reset IRDA handle gstate & RxState. More... | |
#define | __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) |
Reset IRDA handle state. More... | |
#define | __HAL_IRDA_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific IRDA request flag. More... | |
#define __HAL_IRDA_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA FE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 425 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_FEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_FEF) |
Clear the IRDA FE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 498 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Clear the specified IRDA pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA 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 403 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the specified IRDA pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be any combination of the following values: |
None |
Definition at line 485 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA IDLE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 449 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_IDLEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_IDLEF) |
Clear the IRDA IDLE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 516 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->ICR = (uint32_t)(__IT_CLEAR__)) |
Clear the specified IRDA ISR flag, in setting the proper ICR register flag.
<strong>HANDLE</strong> | specifies the IRDA 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 616 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA NE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 433 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_NEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_NEF) |
Clear the IRDA NE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 504 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_PEFLAG(__HANDLE__) |
Clear the IRDA ORE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 441 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_OREFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_OREF) |
Clear the IRDA ORE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 510 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_PEFLAG | ( | __HANDLE__ | ) |
Clear the IRDA PE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 411 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_CLEAR_PEFLAG | ( | __HANDLE__ | ) | __HAL_IRDA_CLEAR_FLAG((__HANDLE__), IRDA_CLEAR_PEF) |
Clear the IRDA PE pending flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 491 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_DISABLE | ( | __HANDLE__ | ) | (CLEAR_BIT((__HANDLE__)->Instance->CR1, USART_CR1_UE)) |
Disable UART/USART associated to IRDA Handle.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 529 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 &= ~USART_CR1_UE) |
Disable UART/USART associated to IRDA Handle.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 653 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified IRDA interrupt.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 482 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Disable the specified IRDA interrupt.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 566 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_ENABLE | ( | __HANDLE__ | ) | (SET_BIT((__HANDLE__)->Instance->CR1, USART_CR1_UE)) |
Enable UART/USART associated to IRDA Handle.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 521 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable UART/USART associated to IRDA Handle.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 647 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified IRDA interrupt.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 465 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Enable the specified IRDA interrupt.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 550 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_FLUSH_DRREGISTER | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->DR) |
Flush the IRDA DR register.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 364 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_FLUSH_DRREGISTER | ( | __HANDLE__ | ) |
Flush the IRDA DR register.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 467 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->SR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified IRDA flag is set or not.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA 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 382 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->ISR & (__FLAG__)) == (__FLAG__)) |
Check whether the specified IRDA flag is set or not.
<strong>HANDLE</strong> | specifies the IRDA 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 535 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified IRDA interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (SET or RESET). |
Definition at line 585 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) |
Check whether the specified IRDA interrupt source is enabled or not.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (SET or RESET). |
Definition at line 600 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_IT_SOURCE | ( | __HANDLE__, | |
__IT__ | |||
) |
Check whether the specified IRDA interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
<strong>IT</strong> | specifies the IRDA interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 500 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) |
Macro to disable the IRDA's one bit sample method.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 513 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_ONE_BIT_SAMPLE_DISABLE | ( | __HANDLE__ | ) |
Disable the IRDA one bit sample method.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 640 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3 |= USART_CR3_ONEBIT) |
Macro to enable the IRDA's one bit sample method.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 507 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_ONE_BIT_SAMPLE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR3|= USART_CR3_ONEBIT) |
Enable the IRDA one bit sample method.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
None |
Definition at line 634 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset IRDA handle gstate & RxState.
<strong>HANDLE</strong> | specifies the IRDA Handle. IRDA Handle selects the USARTx or UARTy peripheral (USART,UART availability and x,y values depending on device). |
None |
Definition at line 352 of file stm32f4xx_hal_irda.h.
#define __HAL_IRDA_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset IRDA handle state.
<strong>HANDLE</strong> | IRDA handle. |
None |
Definition at line 457 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_SEND_REQ | ( | __HANDLE__, | |
__REQ__ | |||
) | ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific IRDA request flag.
<strong>HANDLE</strong> | specifies the IRDA Handle. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 628 of file stm32f7xx_hal_irda.h.