I am working on a project using WFI sleep mode to reduce power consumption. In that mode, I want to wake up only under an IO.
I am looking for a sample code to save the hardware configuration of all the embeded devices of the STR71x, and another function to restore it. That way, I can stop all devices except WDG, RTC and GPIO. Do you think it is as simple as saving hardware registers in RAM. Maybe the soft already exist? Ludo