RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros

Macros

#define __HAL_PWR_AVD_EXTI_ENABLE_IT()   SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_AVD)
 Enable the AVD EXTI Line 16.
 
#define __HAL_PWR_AVD_EXTI_DISABLE_IT()   CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_AVD)
 Disable the AVD EXTI Line 16.
 
#define __HAL_PWR_AVD_EXTI_ENABLE_EVENT()   SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_AVD)
 Enable event on AVD EXTI Line 16.
 
#define __HAL_PWR_AVD_EXTI_DISABLE_EVENT()   CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_AVD)
 Disable event on AVD EXTI Line 16.
 
#define __HAL_PWR_AVD_EXTI_ENABLE_RISING_EDGE()   SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_AVD)
 Enable the AVD Extended Interrupt Rising Trigger.
 
#define __HAL_PWR_AVD_EXTI_DISABLE_RISING_EDGE()   CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_AVD)
 Disable the AVD Extended Interrupt Rising Trigger.
 
#define __HAL_PWR_AVD_EXTI_ENABLE_FALLING_EDGE()   SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_AVD)
 Enable the AVD Extended Interrupt Falling Trigger.
 
#define __HAL_PWR_AVD_EXTI_DISABLE_FALLING_EDGE()   CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_AVD)
 Disable the AVD Extended Interrupt Falling Trigger.
 
#define __HAL_PWR_AVD_EXTI_ENABLE_RISING_FALLING_EDGE()
 Enable the AVD Extended Interrupt Rising and Falling Trigger.
 
#define __HAL_PWR_AVD_EXTI_DISABLE_RISING_FALLING_EDGE()
 Disable the AVD Extended Interrupt Rising & Falling Trigger.
 
#define __HAL_PWR_AVD_EXTI_GET_FLAG()   ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_AVD) == PWR_EXTI_LINE_AVD) ? 1UL : 0UL)
 Check whether the specified AVD EXTI interrupt flag is set or not.
 
#define __HAL_PWR_AVD_EXTI_CLEAR_FLAG()   SET_BIT(EXTI->PR1, PWR_EXTI_LINE_AVD)
 Clear the AVD EXTI flag.
 
#define __HAL_PWR_AVD_EXTI_GENERATE_SWIT()   SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_AVD)
 Generates a Software interrupt on AVD EXTI line.
 

Detailed Description

Macro Definition Documentation

◆ __HAL_PWR_AVD_EXTI_CLEAR_FLAG

#define __HAL_PWR_AVD_EXTI_CLEAR_FLAG ( )    SET_BIT(EXTI->PR1, PWR_EXTI_LINE_AVD)

Clear the AVD EXTI flag.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_DISABLE_EVENT

#define __HAL_PWR_AVD_EXTI_DISABLE_EVENT ( )    CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_AVD)

Disable event on AVD EXTI Line 16.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_DISABLE_FALLING_EDGE

#define __HAL_PWR_AVD_EXTI_DISABLE_FALLING_EDGE ( )    CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_AVD)

Disable the AVD Extended Interrupt Falling Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_DISABLE_IT

#define __HAL_PWR_AVD_EXTI_DISABLE_IT ( )    CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_AVD)

Disable the AVD EXTI Line 16.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_DISABLE_RISING_EDGE

#define __HAL_PWR_AVD_EXTI_DISABLE_RISING_EDGE ( )    CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_AVD)

Disable the AVD Extended Interrupt Rising Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_DISABLE_RISING_FALLING_EDGE

#define __HAL_PWR_AVD_EXTI_DISABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_AVD_EXTI_DISABLE_RISING_EDGE(); \
__HAL_PWR_AVD_EXTI_DISABLE_FALLING_EDGE(); \
} while(0);

Disable the AVD Extended Interrupt Rising & Falling Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_ENABLE_EVENT

#define __HAL_PWR_AVD_EXTI_ENABLE_EVENT ( )    SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_AVD)

Enable event on AVD EXTI Line 16.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_ENABLE_FALLING_EDGE

#define __HAL_PWR_AVD_EXTI_ENABLE_FALLING_EDGE ( )    SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_AVD)

Enable the AVD Extended Interrupt Falling Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_ENABLE_IT

#define __HAL_PWR_AVD_EXTI_ENABLE_IT ( )    SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_AVD)

Enable the AVD EXTI Line 16.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_ENABLE_RISING_EDGE

#define __HAL_PWR_AVD_EXTI_ENABLE_RISING_EDGE ( )    SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_AVD)

Enable the AVD Extended Interrupt Rising Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_ENABLE_RISING_FALLING_EDGE

#define __HAL_PWR_AVD_EXTI_ENABLE_RISING_FALLING_EDGE ( )
Value:
do { \
__HAL_PWR_AVD_EXTI_ENABLE_RISING_EDGE(); \
__HAL_PWR_AVD_EXTI_ENABLE_FALLING_EDGE(); \
} while(0);

Enable the AVD Extended Interrupt Rising and Falling Trigger.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_GENERATE_SWIT

#define __HAL_PWR_AVD_EXTI_GENERATE_SWIT ( )    SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_AVD)

Generates a Software interrupt on AVD EXTI line.

Return values
None.

◆ __HAL_PWR_AVD_EXTI_GET_FLAG

#define __HAL_PWR_AVD_EXTI_GET_FLAG ( )    ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_AVD) == PWR_EXTI_LINE_AVD) ? 1UL : 0UL)

Check whether the specified AVD EXTI interrupt flag is set or not.

Return values
EXTIAVD Line Status.