Functions | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_set_wakeup_condition (uint32_t condition) |
Set the DeepSleep WakeUp Condition. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_get_wakeup_condition (void) |
Get the Selected DeepSleep WakeUp Condition. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_get_wakeup_event (void) |
Get the Event that triggered the DeepSleep WakeUp. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_enable_ext_wakeup_pin (uint32_t wakeup_pin) |
Enable the External WakeUp PINx functionality. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_disable_ext_wakeup_pin (uint32_t wakeup_pin) |
Disable the External WakeUp PINx functionality. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_is_enabled_ext_wakeup_pin (uint32_t wakeup_pin) |
Check if the External WakeUp PINx functionality is enabled. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_set_ext_wakeup_type (uint32_t wakeup_pin, uint32_t wakeup_type) |
Set the WakeUp Type of External WakeUp PINx. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_get_ext_wakeup_type (uint32_t wakeup_pin) |
Get the WakeUp Type of External WakeUp PINx. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_set_sleep_timer_value (uint32_t value) |
Set the 32 bits AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_get_sleep_timer_value (void) |
Get the 32 bit AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_enable_smc_wakeup_req (void) |
Enable the SMC WakeUp Request. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_disable_smc_wakeup_req (void) |
Disable the SMC WakeUp Request. More... | |
SECTION_RAM_CODE __STATIC_INLINE uint32_t | ll_pwr_is_enabled_smc_wakeup_req (void) |
Check if the SMC WakeUp Request was enabled or disabled. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_set_dpad_le_value (uint32_t sleep, uint32_t wakeup) |
Set the DPAD LE value during sleep and after wake up. More... | |
SECTION_RAM_CODE __STATIC_INLINE void | ll_pwr_req_excute_psc_command (uint32_t command) |
Request to excute the Power State Controller Command. More... | |
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_disable_ext_wakeup_pin | ( | uint32_t | wakeup_pin | ) |
Disable the External WakeUp PINx functionality.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | MASK | +———————-+———————————–+ \endrst
wakeup_pin | This parameter can be a combination of the following values: |
None |
Definition at line 375 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_disable_smc_wakeup_req | ( | void | ) |
Disable the SMC WakeUp Request.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | PWR_RET01 | SMC_WAKEUP_REQ | +———————-+———————————–+ \endrst
None |
Definition at line 548 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_enable_ext_wakeup_pin | ( | uint32_t | wakeup_pin | ) |
Enable the External WakeUp PINx functionality.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | MASK | +———————-+———————————–+ \endrst
wakeup_pin | This parameter can be a combination of the following values: |
None |
Definition at line 347 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_enable_smc_wakeup_req | ( | void | ) |
Enable the SMC WakeUp Request.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | PWR_RET01 | SMC_WAKEUP_REQ | +———————-+———————————–+ \endrst
None |
Definition at line 529 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_get_ext_wakeup_type | ( | uint32_t | wakeup_pin | ) |
Get the WakeUp Type of External WakeUp PINx.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | INVERT | +———————-+———————————–+ \endrst EXT_WKUP_CTL | TYPE
wakeup_pin | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 471 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_get_sleep_timer_value | ( | void | ) |
Get the 32 bit AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | TIMER_VALUE | PWR_CTL_TIMER_32B | +———————-+———————————–+ \endrst
32 | bit AON Timer Count Value |
Definition at line 510 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_get_wakeup_condition | ( | void | ) |
Get the Selected DeepSleep WakeUp Condition.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | WAKE_UP_SEL | +———————-+———————————–+ \endrst
Returned | value can be one of the following values: |
Definition at line 292 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_get_wakeup_event | ( | void | ) |
Get the Event that triggered the DeepSleep WakeUp.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | SLP_EVENT | SMCOSCEN_EVENT | +———————-+———————————–+ \endrst SLP_EVENT | TIMER_EVENT SLP_EVENT | EXT_WKUP_EVENT SLP_EVENT | WATCHDOG_EVENT
Returned | value can be combination of the following values: |
Definition at line 321 of file gr55xx_ll_pwr.h.
References LL_PWR_WKUP_EVENT_ALL.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_is_enabled_ext_wakeup_pin | ( | uint32_t | wakeup_pin | ) |
Check if the External WakeUp PINx functionality is enabled.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | MASK | +———————-+———————————–+ \endrst
wakeup_pin | This parameter can be a combination of the following values: |
State | of bit (1 or 0). |
Definition at line 403 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE uint32_t ll_pwr_is_enabled_smc_wakeup_req | ( | void | ) |
Check if the SMC WakeUp Request was enabled or disabled.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | PWR_RET01 | SMC_WAKEUP_REQ | +———————-+———————————–+ \endrst
State | of bit (1 or 0). |
Definition at line 566 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_req_excute_psc_command | ( | uint32_t | command | ) |
Request to excute the Power State Controller Command.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | PSC_CMD_OPC | OPCODE | +———————-+———————————–+ | PSC_CMD | MCU_PWR_REQ | +———————-+———————————–+ \endrst
command | This parameter can be one of the following values:
|
None |
Definition at line 638 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_set_dpad_le_value | ( | uint32_t | sleep, |
uint32_t | wakeup | ||
) |
Set the DPAD LE value during sleep and after wake up.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | MEM_N_SLP_CTL | DPAD_LE_SLP_VAL | +———————-+———————————–+ | MEM_N_SLP_CTL | DPAD_LE_WKUP_VAL | +———————-+———————————–+ \endrst
sleep | This parameter can be one of the following values: |
wakeup | This parameter can be one of the following values: |
None |
Definition at line 593 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_set_ext_wakeup_type | ( | uint32_t | wakeup_pin, |
uint32_t | wakeup_type | ||
) |
Set the WakeUp Type of External WakeUp PINx.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | INVERT | +———————-+———————————–+ \endrst EXT_WKUP_CTL | TYPE
wakeup_pin | This parameter can be a combination of the following values: |
wakeup_type | This parameter can be one of the following values: |
None |
Definition at line 435 of file gr55xx_ll_pwr.h.
References LL_PWR_EXTWKUP_INVERT_LSB, and LL_PWR_EXTWKUP_TYPE_LSB.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_set_sleep_timer_value | ( | uint32_t | value | ) |
Set the 32 bits AON Sleep Timer Value to WakeUp the MCU from DeepSleep Mode.
value | 32 bits count value loaded into the t32bit_timer |
None |
Definition at line 492 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_set_wakeup_condition | ( | uint32_t | condition | ) |
Set the DeepSleep WakeUp Condition.
\rst +———————-+———————————–+ | Register | BitsName | +======================+===================================+ | EXT_WKUP_CTL | WAKE_UP_SEL | +———————-+———————————–+ \endrst
condition | This parameter can be one of the following values: |
None |
Definition at line 267 of file gr55xx_ll_pwr.h.