ULP Wakeup GPIO-interrupt figure out what pin caused it to wake up
Posted: Tue Sep 19, 2023 3:03 pm
Hi there!
I was wondering if it's possible to figure out what pin caused the ULP to wakeup from within the ULP. One possible use case; if wakeup on pin 11 occurs, always wake main processor, but when it occurs on pin 12, only wake up the main processor if the adc voltage is higher than 3V.
Given the example here; https://github.com/espressif/esp-idf/tr ... _interrupt
Kind regards,
Jochem
I was wondering if it's possible to figure out what pin caused the ULP to wakeup from within the ULP. One possible use case; if wakeup on pin 11 occurs, always wake main processor, but when it occurs on pin 12, only wake up the main processor if the adc voltage is higher than 3V.
Given the example here; https://github.com/espressif/esp-idf/tr ... _interrupt
Kind regards,
Jochem