Functions | |
| void | hal_pwr_set_wakeup_condition (uint32_t condition) |
| Set the DeepSleep WakeUp Condition. More... | |
| void | hal_pwr_config_timer_wakeup (uint8_t timer_mode, uint32_t load_count) |
| Configure the AON Sleep Timer mode and count used to wakeup MCU. More... | |
| void | hal_pwr_config_ext_wakeup (uint32_t ext_wakeup_pinx, uint32_t ext_wakeup_type) |
| Configure the External AON GPIO pins and pin trigger type that is used to wakeup MCU. More... | |
| void | hal_pwr_disable_ext_wakeup (uint32_t disable_wakeup_pinx) |
| Disable the interrupt wake-up function of the specified AON GPIO pin. More... | |
| void | hal_pwr_enter_chip_deepsleep (void) |
| Enters DeepSleep mode. More... | |
| void hal_pwr_config_ext_wakeup | ( | uint32_t | ext_wakeup_pinx, |
| uint32_t | ext_wakeup_type | ||
| ) |
Configure the External AON GPIO pins and pin trigger type that is used to wakeup MCU.
| [in] | ext_wakeup_pinx | This parameter can be a combination of the following values: |
| [in] | ext_wakeup_type | This parameter can be a combination of the following values: |
| void hal_pwr_config_timer_wakeup | ( | uint8_t | timer_mode, |
| uint32_t | load_count | ||
| ) |
Configure the AON Sleep Timer mode and count used to wakeup MCU.
| [in] | timer_mode | Specifies the sleep timer mode. This parameter can be a combination of the following values: |
| [in] | load_count | Count value of the AON Sleep Timer. |
| void hal_pwr_disable_ext_wakeup | ( | uint32_t | disable_wakeup_pinx | ) |
Disable the interrupt wake-up function of the specified AON GPIO pin.
| [in] | disable_wakeup_pinx | This parameter can be a combination of the following values: |
| void hal_pwr_enter_chip_deepsleep | ( | void | ) |
Enters DeepSleep mode.
| void hal_pwr_set_wakeup_condition | ( | uint32_t | condition | ) |
Set the DeepSleep WakeUp Condition.
| [in] | condition | This parameter can be a combination of the following values: |