Return from k_sleep on interrupt

How can I return from k_sleep (or any other "sleep" method) when an interrupt occurs?

I would like my device to sleep (low power) until a GPIO pin toggles, then wakeup to process the event.

Parents Reply Children
Related