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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | MASK |
wakeup_pin | This parameter can be a combination of the following values: |
None |
Definition at line 355 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_disable_smc_wakeup_req | ( | void | ) |
Disable the SMC WakeUp Request.
Register | BitsName |
---|---|
PWR_RET01 | SMC_WAKEUP_REQ |
None |
Definition at line 500 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | MASK |
wakeup_pin | This parameter can be a combination of the following values: |
None |
Definition at line 331 of file gr55xx_ll_pwr.h.
SECTION_RAM_CODE __STATIC_INLINE void ll_pwr_enable_smc_wakeup_req | ( | void | ) |
Enable the SMC WakeUp Request.
Register | BitsName |
---|---|
PWR_RET01 | SMC_WAKEUP_REQ |
None |
Definition at line 485 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | INVERT |
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 439 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.
Register | BitsName |
---|---|
TIMER_VALUE | PWR_CTL_TIMER_32B |
32 | bit AON Timer Count Value |
Definition at line 470 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | WAKE_UP_SEL |
Returned | value can be one of the following values: |
Definition at line 284 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.
Register | BitsName |
---|---|
SLP_EVENT | SMCOSCEN_EVENT |
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 309 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | MASK |
wakeup_pin | This parameter can be a combination of the following values: |
State | of bit (1 or 0). |
Definition at line 379 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.
Register | BitsName |
---|---|
PWR_RET01 | SMC_WAKEUP_REQ |
State | of bit (1 or 0). |
Definition at line 514 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.
Register | BitsName |
---|---|
PSC_CMD_OPC | OPCODE |
PSC_CMD | MCU_PWR_REQ |
command | This parameter can be one of the following values:
|
None |
Definition at line 574 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.
Register | BitsName |
---|---|
MEM_N_SLP_CTL | DPAD_LE_SLP_VAL |
MEM_N_SLP_CTL | DPAD_LE_WKUP_VAL |
sleep | This parameter can be one of the following values: |
wakeup | This parameter can be one of the following values: |
None |
Definition at line 535 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | INVERT |
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 407 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.
Register | BitsName |
---|---|
TIMER_VALUE | PWR_CTL_TIMER_32B |
value | 32 bits count value loaded into the t32bit_timer |
None |
Definition at line 456 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.
Register | BitsName |
---|---|
EXT_WKUP_CTL | WAKE_UP_SEL |
condition | This parameter can be one of the following values: |
None |
Definition at line 263 of file gr55xx_ll_pwr.h.