[riot-notifications] [RIOT-OS/RIOT] nrf52: Implement EasyDMA-based SPI peripheral implemenation (#14057)

benpicco notifications at github.com
Tue May 12 14:31:29 CEST 2020


@benpicco commented on this pull request.



> + * @file
+ * @brief       Shared IRQ handling between SPI and TWI peripherals on the nRF52
+ *              devices
+ *
+ * @author      Koen Zandberg <koen at bergzand.net>
+ *
+ * @}
+ */
+
+#include "cpu.h"
+#include "periph_cpu.h"
+
+#ifdef CPU_MODEL_NRF52840XXAA
+#define SPI_TWI_IRQ_NUMOF 4
+#else
+#define SPI_TWI_IRQ_NUMOF 3

nrf52811 only has two SPIs

-- 
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/14057#pullrequestreview-409991072
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/128c4afc/attachment.htm>


More information about the notifications mailing list