The cpu can't goto sleep when gpiote port event occured,after about 1 second later,the cpu then goes to sleep well,
I use the code bellow to enter sleep mode.Is there any thing wrong ,why when the event occured,thc cpu is can't go to sleep as I wanted?I
__WFE; __WFI; __WFI;