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

Koen Zandberg notifications at github.com
Tue May 12 09:22:54 CEST 2020


@bergzand commented on this pull request.



> @@ -180,6 +186,34 @@ typedef struct {
 } uart_conf_t;
 #endif
 
+/**
+ * @brief  SPI configuration values
+ */
+typedef struct {
+    NRF_SPIM_Type *dev; /**< SPI device used */
+    gpio_t sclk;        /**< CLK pin */
+    gpio_t mosi;        /**< MOSI pin */
+    gpio_t miso;        /**< MISO pin */
+    uint8_t ppi;        /**< PPI channel */

This is only required for the errata58 workaround and thus not required for the nrf52840 MCU. Should I ifdef this to only use it with the nrf52832?

-- 
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-409764712
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/963b55d2/attachment.htm>


More information about the notifications mailing list