Clarification of Entering, Leaving and Remaining in Sleep
Suppose that my system consists of 3 modulesmain... at the end of the while loop, I want the system to enter sleep mode, so at the end of the while, I put wfi(); or possibly I put DSB(); after that. Other examples replace wfi() with HAL_PWR_EnterSLEE...