STM32H735xx HAL User Manual
Defines
OTFDEC Private Macros
OTFDEC

Defines

#define IS_OTFDEC_INTERRUPTS(__INT__)
 Verify the OTFDEC peripheral interrupts parameter.
#define IS_OTFDEC_REGION_CONFIG_LOCK(__LOCK__)
 Verify the OTFDEC region configuration lock parameter.
#define IS_OTFDEC_REGION_OPERATING_MODE(__MODE__)
 Verify the OTFDEC region operating mode.
#define IS_OTFDEC_REGIONINDEX(__INDEX__)
 Verify the OTFDEC region index.
#define IS_OTFDEC_ATTRIBUTE(__ATTRIBUTE__)
 Verify the OTFDEC configuration attributes.

Define Documentation

#define IS_OTFDEC_ATTRIBUTE (   __ATTRIBUTE__)
Value:
(((__ATTRIBUTE__) == OTFDEC_ATTRIBUTE_PRIV)   || \
                                            ((__ATTRIBUTE__) == OTFDEC_ATTRIBUTE_NPRIV)  )

Verify the OTFDEC configuration attributes.

Parameters:
__ATTRIBUTE__OTFDEC region index
Return values:
SET(__ATTRIBUTE__ is valid) or RESET (__ATTRIBUTE__ is invalid)

Definition at line 445 of file stm32h7xx_hal_otfdec.h.

#define IS_OTFDEC_INTERRUPTS (   __INT__)
Value:
(((__INT__) == OTFDEC_SEC_ERROR_INT)     || \
                                       ((__INT__) == OTFDEC_EXE_ERROR_INT)     || \
                                       ((__INT__) == OTFDEC_KEY_ERROR_INT)     || \
                                       ((__INT__) == OTFDEC_SEC_EXE_ERROR_INT) || \
                                       ((__INT__) == OTFDEC_SEC_KEY_ERROR_INT) || \
                                       ((__INT__) == OTFDEC_EXE_KEY_ERROR_INT) || \
                                       ((__INT__) == OTFDEC_ALL_INT)  )

Verify the OTFDEC peripheral interrupts parameter.

Parameters:
__INT__OTFDEC peripheral set of interrupts parameter
Return values:
SET(__INT__ is valid) or RESET (__INT__ is invalid)

Definition at line 404 of file stm32h7xx_hal_otfdec.h.

#define IS_OTFDEC_REGION_CONFIG_LOCK (   __LOCK__)
Value:
(((__LOCK__) == OTFDEC_REG_CONFIGR_LOCK_DISABLE) || \
                                                ((__LOCK__) == OTFDEC_REG_CONFIGR_LOCK_ENABLE)  )

Verify the OTFDEC region configuration lock parameter.

Parameters:
__LOCK__OTFDEC region lock parameter.
Return values:
SET(__LOCK__ is valid) or RESET (__LOCK__ is invalid)

Definition at line 417 of file stm32h7xx_hal_otfdec.h.

Referenced by HAL_OTFDEC_RegionConfig().

#define IS_OTFDEC_REGION_OPERATING_MODE (   __MODE__)
Value:

Verify the OTFDEC region operating mode.

Parameters:
__MODE__OTFDEC region operating mode parameter.
Return values:
SET(__MODE__ is valid) or RESET (__MODE__ is invalid)

Definition at line 425 of file stm32h7xx_hal_otfdec.h.

Referenced by HAL_OTFDEC_RegionSetMode().

#define IS_OTFDEC_REGIONINDEX (   __INDEX__)
Value:
(((__INDEX__) == OTFDEC_REGION1)     || \
                                          ((__INDEX__) == OTFDEC_REGION2)     || \
                                          ((__INDEX__) == OTFDEC_REGION3)     || \
                                          ((__INDEX__) == OTFDEC_REGION4)  )

Verify the OTFDEC region index.

Parameters:
__INDEX__OTFDEC region index
Return values:
SET(__INDEX__ is valid) or RESET (__INDEX__ is invalid)

Definition at line 435 of file stm32h7xx_hal_otfdec.h.

Referenced by HAL_OTFDEC_RegionConfig(), HAL_OTFDEC_RegionDisable(), HAL_OTFDEC_RegionEnable(), HAL_OTFDEC_RegionGetConfig(), HAL_OTFDEC_RegionGetKeyCRC(), HAL_OTFDEC_RegionKeyLock(), HAL_OTFDEC_RegionSetKey(), and HAL_OTFDEC_RegionSetMode().