In order to use the Raspberry Pi Pico ADC on a pin, the adc_gpio_init
function is used, which disables all digital functions (https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#gab15d6e804715935b4e9b5027a2940910).
However, I'd like to both use the ADC (in free-running mode with DMA) and attach a falling-edge interrupt to the same pin. Is something like that possible, or do I have to connect the same signal to two pins?