|
/** * @brief Enters the Low Power Run mode. * @note Low power run mode can only be entered when VCORE is in range 2. * In addition, the dynamic voltage scaling must not be used when Low * power run mode is selected. Only Stop and Sleep modes with regulator * configured in Low power mode is allowed when Low power run mode is * selected. * @note In Low power run mode, all I/O pins keep the same state as in Run mode. * @param None * @retval None */ void Enable_LowPowerRun_Mode(void) { /* Enters the Low Power Run mode */ PWR->CR |= PWR_CR_LPSDSR; PWR->CR |= PWR_CR_LPRUN; } /** * @brief Exits the Low Power Run mode. * @param None * @retval None */ void Disable_LowPowerRun_Mode(void) { /* Exits the Low Power Run mode */ PWR->CR &= (uint32_t) ~((uint32_t)PWR_CR_LPRUN); PWR->CR &= (uint32_t) ~((uint32_t)PWR_CR_LPSDSR); } |
| 谢谢,正在学习 |
学习学习 |
|
学习过,都忘了 |
| 学习学习 |
| 学习学习 |
| 还没有用过这东西 |
微信公众号
手机版