Closed jonas-koeritz closed 2 weeks ago
Hello,
I'm very sorry to have kept you waiting so long.
Do you still have this problem now?
Hello,
I\'m going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]
Inside EnergySaving::enable_eic_wake, there is a switch/case that assigns the input pin number to a WAKEUPENx bit. This function mangles them up in a way that will never wake a Seeeduino XIAO correctly. The WAKEUPENx bits are not mixed up like the function suggests. Waking up from external interrupts start's working as soon as you set the WAKEUPENx bit of the pin used to
::begin()
the EnergySaving calls with.