STM32H735xx HAL User Manual
Defines
CORDIC Exported Macros
CORDIC

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 Documentation

#define __HAL_CORDIC_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    /* Dummy macro */

Clear specified CORDIC status flag.

Dummy macro as no flag can be cleared.

Parameters:
__HANDLE__CORDIC handle.
__FLAG__CORDIC flag to clear This parameter can be one of the following values:
Return 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.

Parameters:
__HANDLE__CORDIC handle.
__INTERRUPT__CORDIC interrupt to clear
Return values:
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.

Parameters:
__HANDLE__CORDIC handle.
__INTERRUPT__CORDIC Interrupt. This parameter can be one of the following values:
Return 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.

Parameters:
__HANDLE__CORDIC handle.
__INTERRUPT__CORDIC Interrupt. This parameter can be one of the following values:
Return 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.

Parameters:
__HANDLE__CORDIC handle.
__FLAG__CORDIC flag to check This parameter can be one of the following values:
Return 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.

Parameters:
__HANDLE__CORDIC handle.
__INTERRUPT__CORDIC interrupt to check
Return values:
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.

Parameters:
__HANDLE__CORDIC handle.
__INTERRUPT__CORDIC interrupt to check This parameter can be one of the following values:
Return values:
FlagStatus

Definition at line 412 of file stm32h7xx_hal_cordic.h.

Referenced by HAL_CORDIC_IRQHandler().

#define __HAL_CORDIC_RESET_HANDLE_STATE (   __HANDLE__)
Value:
do{                                                \
                                                        (__HANDLE__)->State = HAL_CORDIC_STATE_RESET;   \
                                                        (__HANDLE__)->MspInitCallback = NULL;           \
                                                        (__HANDLE__)->MspDeInitCallback = NULL;         \
                                                      } while(0)

Reset CORDIC handle state.

Parameters:
__HANDLE__CORDIC handle
Return values:
None

Definition at line 338 of file stm32h7xx_hal_cordic.h.