RTEMS 6.1-rc5
|
Macros | |
#define | __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__) |
Configure the main internal regulator output voltage. | |
#define | __HAL_PWR_GET_FLAG(__FLAG__) |
Check PWR flags are set or not. | |
#define | __HAL_PWR_GET_WAKEUPFLAG(__FLAG__) ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1) |
Check PWR wake up flags are set or not. | |
#define | __HAL_PWR_CLEAR_FLAG(__FLAG__) SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF) |
Clear CPU PWR flags. | |
#define | __HAL_PWR_CLEAR_WAKEUPFLAG(__FLAG__) SET_BIT(PWR->WKUPCR, (__FLAG__)) |
Clear PWR wake up flags. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_IT() SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Enable the PVD EXTI Line 16. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_IT() CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Disable the PVD EXTI Line 16. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_EVENT() SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD) |
Enable event on PVD EXTI Line 16. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_EVENT() CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD) |
Disable event on PVD EXTI Line 16. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE() SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Rising Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE() CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Rising Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE() SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Falling Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE() CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Falling Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE() |
Enable the PVD Rising & Falling Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE() |
Disable the PVD Rising & Falling Interrupt Trigger. | |
#define | __HAL_PWR_PVD_EXTI_GET_FLAG() ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL) |
Check whether the specified PVD EXTI interrupt flag is set or not. | |
#define | __HAL_PWR_PVD_EXTI_CLEAR_FLAG() SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) |
Clear the PVD EXTI flag. | |
#define | __HAL_PWR_PVD_EXTI_GENERATE_SWIT() SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD) |
Generates a Software interrupt on PVD EXTI line. | |
#define __HAL_PWR_CLEAR_FLAG | ( | __FLAG__ | ) | SET_BIT(PWR->CPUCR, PWR_CPUCR_CSSF) |
Clear CPU PWR flags.
__FLAG__ | : Specifies the flag to clear. |
None. |
#define __HAL_PWR_CLEAR_WAKEUPFLAG | ( | __FLAG__ | ) | SET_BIT(PWR->WKUPCR, (__FLAG__)) |
Clear PWR wake up flags.
__FLAG__ | : Specifies the wake up flag to be cleared. This parameter can be one of the following values :
|
None. |
#define __HAL_PWR_GET_FLAG | ( | __FLAG__ | ) |
Check PWR flags are set or not.
__FLAG__ | : Specifies the flag to check. This parameter can be one of the following values:
|
The | (FLAG) state (TRUE or FALSE). |
#define __HAL_PWR_GET_WAKEUPFLAG | ( | __FLAG__ | ) | ((PWR->WKUPFR & (__FLAG__)) ? 0 : 1) |
Check PWR wake up flags are set or not.
__FLAG__ | specifies the wake up flag to check. This parameter can be one of the following values:
|
The | (FLAG) state (TRUE or FALSE). |
#define __HAL_PWR_PVD_EXTI_CLEAR_FLAG | ( | ) | SET_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) |
Clear the PVD EXTI flag.
None. |
#define __HAL_PWR_PVD_EXTI_DISABLE_EVENT | ( | ) | CLEAR_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD) |
Disable event on PVD EXTI Line 16.
None. |
#define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE | ( | ) | CLEAR_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Falling Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_DISABLE_IT | ( | ) | CLEAR_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Disable the PVD EXTI Line 16.
None. |
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE | ( | ) | CLEAR_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Disable the PVD Rising Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
Disable the PVD Rising & Falling Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_ENABLE_EVENT | ( | ) | SET_BIT(EXTI->EMR1, PWR_EXTI_LINE_PVD) |
Enable event on PVD EXTI Line 16.
None. |
#define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE | ( | ) | SET_BIT(EXTI->FTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Falling Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_ENABLE_IT | ( | ) | SET_BIT(EXTI->IMR1, PWR_EXTI_LINE_PVD) |
Enable the PVD EXTI Line 16.
None. |
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE | ( | ) | SET_BIT(EXTI->RTSR1, PWR_EXTI_LINE_PVD) |
Enable the PVD Rising Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
Enable the PVD Rising & Falling Interrupt Trigger.
None. |
#define __HAL_PWR_PVD_EXTI_GENERATE_SWIT | ( | ) | SET_BIT(EXTI->SWIER1, PWR_EXTI_LINE_PVD) |
Generates a Software interrupt on PVD EXTI line.
None. |
#define __HAL_PWR_PVD_EXTI_GET_FLAG | ( | ) | ((READ_BIT(EXTI->PR1, PWR_EXTI_LINE_PVD) == PWR_EXTI_LINE_PVD) ? 1UL : 0UL) |
Check whether the specified PVD EXTI interrupt flag is set or not.
EXTI | PVD Line Status. |
#define __HAL_PWR_VOLTAGESCALING_CONFIG | ( | __REGULATOR__ | ) |
Configure the main internal regulator output voltage.
__REGULATOR__ | : Specifies the regulator output voltage to achieve a trade-off between performance and power consumption when the device does not operate at the maximum frequency (refer to the datasheet for more details). This parameter can be one of the following values:
|
None. |