![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_SPDIFRX_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = (uint16_t)SPDIFRX_CR_SPDIFEN) |
Reset SPDIFRX handle state. More... | |
#define | __HAL_SPDIFRX_IDLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= SPDIFRX_STATE_IDLE) |
Disable the specified SPDIFRX peripheral (IDLE State). More... | |
#define | __HAL_SPDIFRX_SYNC(__HANDLE__) ((__HANDLE__)->Instance->CR |= SPDIFRX_STATE_SYNC) |
Enable the specified SPDIFRX peripheral (SYNC State). More... | |
#define | __HAL_SPDIFRX_RCV(__HANDLE__) ((__HANDLE__)->Instance->CR |= SPDIFRX_STATE_RCV) |
Enable the specified SPDIFRX peripheral (RCV State). More... | |
#define | __HAL_SPDIFRX_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable or disable the specified SPDIFRX interrupts. More... | |
#define | __HAL_SPDIFRX_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IMR &= (uint16_t)(~(__INTERRUPT__))) |
#define | __HAL_SPDIFRX_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Checks if the specified SPDIFRX interrupt source is enabled or disabled. More... | |
#define | __HAL_SPDIFRX_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified SPDIFRX flag is set or not. More... | |
#define | __HAL_SPDIFRX_CLEAR_IT(__HANDLE__, __IT_CLEAR__) ((__HANDLE__)->Instance->IFCR = (uint32_t)(__IT_CLEAR__)) |
Clears the specified SPDIFRX SR flag, in setting the proper IFCR register bit. More... | |
#define __HAL_SPDIFRX_CLEAR_IT | ( | __HANDLE__, | |
__IT_CLEAR__ | |||
) | ((__HANDLE__)->Instance->IFCR = (uint32_t)(__IT_CLEAR__)) |
Clears the specified SPDIFRX SR flag, in setting the proper IFCR register bit.
<strong>HANDLE</strong> | specifies the USART 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 430 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR &= (uint16_t)(~(__INTERRUPT__))) |
Definition at line 385 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IMR |= (__INTERRUPT__)) |
Enable or disable the specified SPDIFRX interrupts.
<strong>HANDLE</strong> | specifies the SPDIFRX Handle. |
<strong>INTERRUPT</strong> | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 384 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified SPDIFRX flag is set or not.
<strong>HANDLE</strong> | specifies the SPDIFRX 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 417 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->IMR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Checks if the specified SPDIFRX interrupt source is enabled or disabled.
<strong>HANDLE</strong> | specifies the SPDIFRX Handle. |
<strong>INTERRUPT</strong> | specifies the SPDIFRX interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
Definition at line 400 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_IDLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= SPDIFRX_STATE_IDLE) |
Disable the specified SPDIFRX peripheral (IDLE State).
<strong>HANDLE</strong> | specifies the SPDIFRX Handle. |
None |
Definition at line 355 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_RCV | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= SPDIFRX_STATE_RCV) |
Enable the specified SPDIFRX peripheral (RCV State).
<strong>HANDLE</strong> | specifies the SPDIFRX Handle. |
None |
Definition at line 368 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = (uint16_t)SPDIFRX_CR_SPDIFEN) |
Reset SPDIFRX handle state.
<strong>HANDLE</strong> | SPDIFRX handle. |
None |
Definition at line 349 of file stm32f7xx_hal_spdifrx.h.
#define __HAL_SPDIFRX_SYNC | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= SPDIFRX_STATE_SYNC) |
Enable the specified SPDIFRX peripheral (SYNC State).
<strong>HANDLE</strong> | specifies the SPDIFRX Handle. |
None |
Definition at line 361 of file stm32f7xx_hal_spdifrx.h.