[riot-notifications] [RIOT-OS/RIOT] cpu/rp2040: port RIOT to the Raspberry Pi RP2040 MCU (#16609)

Marian Buschsieweke notifications at github.com
Mon Jul 5 14:34:06 CEST 2021


@maribu commented on this pull request.



> +    }
+
+    _cbs[pin] = cb;
+    _args[pin] = arg;
+    _irq_enable(pin, flank);
+
+    return 0;
+}
+
+void isr_io_bank0(void)
+{
+    unsigned offset = 0;
+    volatile uint32_t *irq_status_regs = &IO_BANK0->PROC0_INTS0.reg;
+    volatile uint32_t *irq_ack_regs = &IO_BANK0->INTR0.reg;
+
+    for (unsigned i = 0; i < (GPIO_PIN_NUMOF + 7) / 8; i++, offset += 8) {

I added some comments now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16609#discussion_r663896436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210705/ca4fb93e/attachment-0001.htm>


More information about the notifications mailing list