|
STM CMSIS
|
Macros | |
| #define | __HAL_PWR_GET_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
| Check PWR flag is set or not. More... | |
| #define | __HAL_PWR_CLEAR_FLAG(__FLAG__) (PWR->CR |= (__FLAG__) << 2U) |
| Clear the PWR's pending flags. More... | |
| #define | __HAL_PWR_PVD_EXTI_ENABLE_IT() (EXTI->IMR |= (PWR_EXTI_LINE_PVD)) |
| Enable the PVD Exti Line 16. More... | |
| #define | __HAL_PWR_PVD_EXTI_DISABLE_IT() (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD)) |
| Disable the PVD EXTI Line 16. More... | |
| #define | __HAL_PWR_PVD_EXTI_ENABLE_EVENT() (EXTI->EMR |= (PWR_EXTI_LINE_PVD)) |
| Enable event on PVD Exti Line 16. More... | |
| #define | __HAL_PWR_PVD_EXTI_DISABLE_EVENT() (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD)) |
| Disable event on PVD Exti Line 16. More... | |
| #define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE() SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
| Enable the PVD Extended Interrupt Rising Trigger. More... | |
| #define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE() CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
| Disable the PVD Extended Interrupt Rising Trigger. More... | |
| #define | __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE() SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
| Enable the PVD Extended Interrupt Falling Trigger. More... | |
| #define | __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE() CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
| Disable the PVD Extended Interrupt Falling Trigger. More... | |
| #define | __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE() |
| PVD EXTI line configuration: set rising & falling edge trigger. More... | |
| #define | __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE() |
| Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be: More... | |
| #define | __HAL_PWR_PVD_EXTI_GET_FLAG() (EXTI->PR & (PWR_EXTI_LINE_PVD)) |
| checks whether the specified PVD Exti interrupt flag is set or not. More... | |
| #define | __HAL_PWR_PVD_EXTI_CLEAR_FLAG() (EXTI->PR = (PWR_EXTI_LINE_PVD)) |
| Clear the PVD Exti flag. More... | |
| #define | __HAL_PWR_PVD_EXTI_GENERATE_SWIT() (EXTI->SWIER |= (PWR_EXTI_LINE_PVD)) |
| Generates a Software interrupt on PVD EXTI line. More... | |
| #define __HAL_PWR_CLEAR_FLAG | ( | __FLAG__ | ) | (PWR->CR |= (__FLAG__) << 2U) |
Clear the PWR's pending flags.
| <strong>FLAG</strong> | specifies the flag to clear. This parameter can be one of the following values:
|
| #define __HAL_PWR_GET_FLAG | ( | __FLAG__ | ) | ((PWR->CSR & (__FLAG__)) == (__FLAG__)) |
Check PWR flag is set or not.
| <strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (TRUE or FALSE). |
| #define __HAL_PWR_PVD_EXTI_CLEAR_FLAG | ( | ) | (EXTI->PR = (PWR_EXTI_LINE_PVD)) |
Clear the PVD Exti flag.
| None. |
| #define __HAL_PWR_PVD_EXTI_DISABLE_EVENT | ( | ) | (EXTI->EMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable event on PVD Exti Line 16.
| None. |
| #define __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE | ( | ) | CLEAR_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Falling Trigger.
| None. |
| #define __HAL_PWR_PVD_EXTI_DISABLE_IT | ( | ) | (EXTI->IMR &= ~(PWR_EXTI_LINE_PVD)) |
Disable the PVD EXTI Line 16.
| None. |
| #define __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE | ( | ) | CLEAR_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Disable the PVD Extended Interrupt Rising Trigger.
| None. |
| #define __HAL_PWR_PVD_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
Disable the PVD Extended Interrupt Rising & Falling Trigger. This parameter can be:
| None. |
| #define __HAL_PWR_PVD_EXTI_ENABLE_EVENT | ( | ) | (EXTI->EMR |= (PWR_EXTI_LINE_PVD)) |
Enable event on PVD Exti Line 16.
| None. |
| #define __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE | ( | ) | SET_BIT(EXTI->FTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Falling Trigger.
| None. |
| #define __HAL_PWR_PVD_EXTI_ENABLE_IT | ( | ) | (EXTI->IMR |= (PWR_EXTI_LINE_PVD)) |
Enable the PVD Exti Line 16.
| None. |
| #define __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE | ( | ) | SET_BIT(EXTI->RTSR, PWR_EXTI_LINE_PVD) |
Enable the PVD Extended Interrupt Rising Trigger.
| None. |
| #define __HAL_PWR_PVD_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
PVD EXTI line configuration: set rising & falling edge trigger.
| None. |
| #define __HAL_PWR_PVD_EXTI_GENERATE_SWIT | ( | ) | (EXTI->SWIER |= (PWR_EXTI_LINE_PVD)) |
Generates a Software interrupt on PVD EXTI line.
| None |
| #define __HAL_PWR_PVD_EXTI_GET_FLAG | ( | ) | (EXTI->PR & (PWR_EXTI_LINE_PVD)) |
checks whether the specified PVD Exti interrupt flag is set or not.
| EXTI | PVD Line Status. |