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