Question
Sneding STM205RBT6 in sleep mode
Posted on May 21, 2014 at 14:09
Is below is right way to send STM32F205RBT6 in sleep mode:
I have to do some task, then send MCU in sleep mode for 1 sec & then again execute those tasks.main(){ while(1) { // do some task configure_timer_1_sec(); //configure interrupt when 1 sec completes __wfi(); }}timer_isr(){ clear_interrupt_flag();}