The interaction between hardware on/off and sleep states usually occurs on IDLE
loop. I'm not sure if you are aware of this option but you can have a board
specific idle loop implementation. This is what I usually do to implement
project specific handling of sleep states.
Best,
Matias
On Wed,
Hi Matias,
I indeed saw that there are several governors.
I implemented PM switches in the application code (you could see this as a
governor), there is for example a sleep state of the application, there the
PM_SLEEP state is used to set the MCU in a very low power state.
Another one is the PM