support for UART rx interrupt
I am using raspberry pi pico for my new project.
I was checking for example for UART receive interrupt. Do we have support for the same?
How can we achieve the UART RX interrupt?
I checked the micropython documentation but I didn't see support for RPi pico.
RP2: PIO interrupt API for Raspberry Pi Pico
In the Micropython port RP2 for the Raspberry Pi Pico it looks like there are some APIs missing.
Especially it seems it is not possible to enable a PIO FIFO interrupt. (Or I did miss something)
In the Raspberry Pico C API there is the function pio_set_irq0_source_enabled that lets you configure FIFO interrupts:
https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__pio.html
I would like to see support for that in Micropython. Without that API you have to poll the FIFO which is in my case bad for performance.