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.
No support for UART RX IRQ (interrupt)
Micropython does not support interrupts on UART, which is very weird since it is a very common protocol and always needed. (link to the official documentations)
Alternatives such as asyncIO, PIO and etc are not good enough.
Micropython currently supports this feature only on WiPy boards.
Since I'm using raspberrypi pico, I think their foundation can be a good candidate to apply this request (for the pico boards specifically), but micropython does not support this on almost any boards therefor I'm requesting from the micropython respected team to add this feature.
Thank you for your great work.