libxr 1.0
Want to be the best embedded framework
|
Public Member Functions | |
void | Reset () override |
复位电源管理模块 / Resets the power management module | |
void | Shutdown () override |
关闭系统电源 / Shuts down the system power | |
![]() | |
PowerManager ()=default | |
默认构造函数 / Default constructor | |
virtual | ~PowerManager ()=default |
默认析构函数 / Default destructor | |
Definition at line 11 of file stm32_power.hpp.
|
inlineexplicit |
Definition at line 13 of file stm32_power.hpp.
|
inlineoverridevirtual |
复位电源管理模块 / Resets the power management module
该方法应由子类实现,用于执行特定的复位操作,例如重启电源控制器或恢复默认设置。 This method should be implemented by subclasses to perform specific reset operations, such as restarting the power controller or restoring default settings.
Implements LibXR::PowerManager.
Definition at line 15 of file stm32_power.hpp.
|
inlineoverridevirtual |
关闭系统电源 / Shuts down the system power
该方法应由子类实现,用于执行系统关机操作,例如断开电源或进入低功耗模式。 This method should be implemented by subclasses to perform system shutdown operations, such as cutting off power or entering a low-power mode.
Implements LibXR::PowerManager.
Definition at line 17 of file stm32_power.hpp.