Stop/Sleep mode for Low Layer lib
i am using STM32C011F6P6 and try to enter stop mode by
LL_PWR_SetPowerMode(LL_PWR_MODE_SHUTDOWN);
LL_LPM_EnableDeepSleep();
__WFE();
the current is little bit more than not entering the shutdown mode
and the clock is not stopping
is there any thing I should do first?
and i want to monitor the adc input for wake from sleep mode
is that possible?
i search for some example on web, most of them are using __WFI and use GPIO or TIMER to wake up
i think it maybe possible on __WFE? but i can't find much example on web
