STM32H735xx HAL User Manual
|
Defines | |
#define | __HAL_CORDIC_RESET_HANDLE_STATE(__HANDLE__) |
Reset CORDIC handle state. | |
#define | __HAL_CORDIC_ENABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CSR) |= (__INTERRUPT__)) |
Enable the CORDIC interrupt when result is ready. | |
#define | __HAL_CORDIC_DISABLE_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CSR) &= ~(__INTERRUPT__)) |
Disable the CORDIC interrupt. | |
#define | __HAL_CORDIC_GET_IT(__HANDLE__, __INTERRUPT__) /* Dummy macro */ |
Check whether the specified CORDIC interrupt occurred or not. | |
#define | __HAL_CORDIC_CLEAR_IT(__HANDLE__, __INTERRUPT__) /* Dummy macro */ |
Clear specified CORDIC interrupt status. | |
#define | __HAL_CORDIC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->CSR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified CORDIC status flag is set or not. | |
#define | __HAL_CORDIC_CLEAR_FLAG(__HANDLE__, __FLAG__) /* Dummy macro */ |
Clear specified CORDIC status flag. | |
#define | __HAL_CORDIC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->CSR) & (__INTERRUPT__)) |
Check whether the specified CORDIC interrupt is enabled or not. |
#define __HAL_CORDIC_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | /* Dummy macro */ |
Clear specified CORDIC status flag.
Dummy macro as no flag can be cleared.
__HANDLE__ | CORDIC handle. |
__FLAG__ | CORDIC flag to clear This parameter can be one of the following values:
|
None |
Definition at line 403 of file stm32h7xx_hal_cordic.h.
#define __HAL_CORDIC_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | /* Dummy macro */ |
Clear specified CORDIC interrupt status.
Dummy macro as no interrupt status flag.
__HANDLE__ | CORDIC handle. |
__INTERRUPT__ | CORDIC interrupt to clear |
None |
Definition at line 383 of file stm32h7xx_hal_cordic.h.
#define __HAL_CORDIC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CSR) &= ~(__INTERRUPT__)) |
Disable the CORDIC interrupt.
__HANDLE__ | CORDIC handle. |
__INTERRUPT__ | CORDIC Interrupt. This parameter can be one of the following values:
|
None |
Definition at line 366 of file stm32h7xx_hal_cordic.h.
Referenced by HAL_CORDIC_IRQHandler().
#define __HAL_CORDIC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CSR) |= (__INTERRUPT__)) |
Enable the CORDIC interrupt when result is ready.
__HANDLE__ | CORDIC handle. |
__INTERRUPT__ | CORDIC Interrupt. This parameter can be one of the following values:
|
None |
Definition at line 355 of file stm32h7xx_hal_cordic.h.
Referenced by HAL_CORDIC_Calculate_IT().
#define __HAL_CORDIC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((((__HANDLE__)->Instance->CSR) & (__FLAG__)) == (__FLAG__)) |
Check whether the specified CORDIC status flag is set or not.
__HANDLE__ | CORDIC handle. |
__FLAG__ | CORDIC flag to check This parameter can be one of the following values:
|
SET | (flag is set) or RESET (flag is reset) |
Definition at line 392 of file stm32h7xx_hal_cordic.h.
Referenced by HAL_CORDIC_IRQHandler().
#define __HAL_CORDIC_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | /* Dummy macro */ |
Check whether the specified CORDIC interrupt occurred or not.
Dummy macro as no interrupt status flag.
__HANDLE__ | CORDIC handle. |
__INTERRUPT__ | CORDIC interrupt to check |
SET | (interrupt occurred) or RESET (interrupt did not occurred) |
Definition at line 375 of file stm32h7xx_hal_cordic.h.
#define __HAL_CORDIC_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->CSR) & (__INTERRUPT__)) |
Check whether the specified CORDIC interrupt is enabled or not.
__HANDLE__ | CORDIC handle. |
__INTERRUPT__ | CORDIC interrupt to check This parameter can be one of the following values:
|
FlagStatus |
Definition at line 412 of file stm32h7xx_hal_cordic.h.
Referenced by HAL_CORDIC_IRQHandler().
#define __HAL_CORDIC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->State = HAL_CORDIC_STATE_RESET; \ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0)
Reset CORDIC handle state.
__HANDLE__ | CORDIC handle |
None |
Definition at line 338 of file stm32h7xx_hal_cordic.h.