libxr
1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
ch32_power.cpp
1
#include "ch32_power.hpp"
2
3
using namespace
LibXR
;
4
5
// CH32 reset / standby hooks are thin wrappers over the vendor library entry points.
6
// CH32 的复位 / 待机接口只是对标准库入口做薄封装。
7
void
CH32PowerManager::Reset
() { NVIC_SystemReset(); }
8
9
void
CH32PowerManager::Shutdown
() { PWR_EnterSTANDBYMode(); }
LibXR::CH32PowerManager::Shutdown
void Shutdown() override
关闭系统电源 / Shuts down the system power
Definition
ch32_power.cpp:9
LibXR::CH32PowerManager::Reset
void Reset() override
复位电源管理模块 / Resets the power management module
Definition
ch32_power.cpp:7
LibXR
LibXR 命名空间
Definition
ch32_can.hpp:14
driver
ch
ch32_power.cpp
Generated by
1.12.0