![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_IRDA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_IRDA_STATE_RESET) |
Reset IRDA handle state. 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_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified IRDA interrupt. More... | |
#define | __HAL_IRDA_GET_IT(__HANDLE__, __IT__) ((__HANDLE__)->Instance->ISR & ((uint32_t)1 << ((__IT__)>> 0x08))) |
Check whether the specified IRDA interrupt has occurred or not. More... | |
#define | __HAL_IRDA_GET_IT_SOURCE(__HANDLE__, __IT__) |
Check whether the specified IRDA interrupt source is enabled. 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_SEND_REQ(__HANDLE__, __REQ__) ((__HANDLE__)->Instance->RQR |= (uint16_t)(__REQ__)) |
Set a specific IRDA request flag. More... | |
#define | __HAL_IRDA_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1 |= USART_CR1_UE) |
Enable 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_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. The Handle Instance which can be USART1 or USART2. |
<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 510 of file stm32f7xx_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. The Handle Instance which can be USART1 or USART2. |
None |
Definition at line 537 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. The Handle Instance which can be USART1 or USART2. |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to disable. This parameter can be one of the following values:
|
None |
Definition at line 458 of file stm32f7xx_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. The Handle Instance which can be USART1 or USART2. |
None |
Definition at line 530 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. The Handle Instance which can be USART1 or USART2. UART peripheral |
<strong>INTERRUPT</strong> | specifies the IRDA interrupt source to enable. This parameter can be one of the following values:
|
None |
Definition at line 441 of file stm32f7xx_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. The Handle Instance which can be USART1 or USART2. UART peripheral |
<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 425 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_IT | ( | __HANDLE__, | |
__IT__ | |||
) | ((__HANDLE__)->Instance->ISR & ((uint32_t)1 << ((__IT__)>> 0x08))) |
Check whether the specified IRDA interrupt has occurred or not.
<strong>HANDLE</strong> | specifies the IRDA Handle. The Handle Instance which can be USART1 or USART2. |
<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 477 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_GET_IT_SOURCE | ( | __HANDLE__, | |
__IT__ | |||
) |
Check whether the specified IRDA interrupt source is enabled.
<strong>HANDLE</strong> | specifies the IRDA Handle. The Handle Instance which can be USART1 or USART2. |
<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 494 of file stm32f7xx_hal_irda.h.
#define __HAL_IRDA_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_IRDA_STATE_RESET) |
Reset IRDA handle state.
<strong>HANDLE</strong> | specifies the IRDA Handle. The Handle Instance which can be USART1 or USART2. |
None |
Definition at line 402 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. The Handle Instance which can be USART1 or USART2. |
<strong>REQ</strong> | specifies the request flag to set This parameter can be one of the following values:
|
None |
Definition at line 523 of file stm32f7xx_hal_irda.h.