Is it possible to use a single pin for a normal interrupt (E.g. RISING) and the same pin for a wakeup interrupt from sleep?
I'm looking at having something go to sleep until a sensor value is triggered, then waking up. The sleep will be triggered by a timeout. As the sensor value cannot be predicted WHEN it will happen, I was wondering whether the same pin for the sensor (HIGH or LOW) can be used to wake from sleep.
The sensor is time-sensitive so needs to be on an interrupt.