I need to use sleep modes with Arduino Nano 33 IoT, but instead of waking up every x millisecond, I need it to wake up only when it detects, through a water flow sensor, that water is running through it. Is this possible? How would I read sensor values if the Arduino is sleeping? Thanks in advance.