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.
Why do you think of different interrupts? A sleep mode is finished by an interrupt and the controller data sheet will tell which one also can wake up the controller. External and Pin Change PCINT e.g. can wake up an Uno and other ATmega controllers.
On the page that you linked to, if you go down to the bottom of the page, you will find the link to this datasheet: https://files.seeedstudio.com/wiki/Seeeduino-XIAO/res/ATSAMD21G18A-MU-Datasheet.pdf
This is the Atmel datasheet for your mcu and should tell you everything you need to know about the sleep and interrupt capabilities for it. If you have any trouble with the code I'm sure someone here will be able to help you.