|
LL_PMU_SleepInitTypeDef LPM_InitStruct;
LPM_InitStruct.PowerMode = LL_PMU_POWER_MODE_ACTIVE_AND_LPACTIVE;
LPM_InitStruct.LDOLowPowerMode = LL_PMU_LDO_LPM_ENABLE;
LPM_InitStruct.DeepSleep = LL_PMU_SLEEP_MODE_NOMAL;
LPM_InitStruct.WakeupFrequency = LL_PMU_SLEEP_WAKEUP_FREQ_RCHF_8MHZ;
LPM_InitStruct.WakeupDelay = LL_PMU_WAKEUP_DELAY_TIME_2US;
LPM_InitStruct.CoreVoltageScaling = DISABLE;
LL_PMU_Sleep_Init(PMU, &LPM_InitStruct);
相识于LPactive模式,时钟源用的RCMF4M,我看的手册只用配置LDO就行了,参考睡眠模式的例子修改的 不知道对不对 帮忙看一看还需要配置什么
|
|