libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
stm32_power.cpp
1#include "stm32_power.hpp"
2
3using namespace LibXR;
4
5STM32PowerManager::STM32PowerManager() {}
6
7void STM32PowerManager::Reset() { NVIC_SystemReset(); }
8
9void STM32PowerManager::Shutdown() { HAL_PWR_EnterSTANDBYMode(); }
void Reset() override
复位电源管理模块 / Resets the power management module
void Shutdown() override
关闭系统电源 / Shuts down the system power
LibXR 命名空间
Definition ch32_gpio.hpp:9