void NVIC_SystemLPConfig(uint8_t LowPowerMode, FunctionalState NewState)
LowPowerMode | 説明 |
NVIC_LP_SEVONPEND | Wake-up on Pend |
NVIC_LP_SLEEPDEEP | Deep Sleep Enable |
NVIC_LP_SLEEPONEXIT | Sleep on ISR exit |
NewState | 説明 |
ENABLE | 有効にします |
DISABLE | 無効にします |
/* wakeup the system on interrupt pending */ NVIC_SystemLPConfig(SEVONPEND, ENABLE);