[riot-notifications] [RIOT-OS/RIOT] clicker, wifire: Add SPI peripheral support (#7383)

neiljay notifications at github.com
Thu Sep 28 16:09:41 CEST 2017


neiljay commented on this pull request.



> +    {   /*
+         * SPI 4 (MRF24WG0MA - wifi module)
+         *   MOSI -> RG0
+         *   MISO -> RF5
+         *   SCK  -> RD10
+         */
+        .mosi_pin = GPIO_PIN(PORT_G, 0),
+        .mosi_reg = (volatile uint32_t*)&RPG0R,
+        .mosi_af  = 0b1000,
+        .miso_pin = GPIO_PIN(PORT_F, 5),
+        .miso_reg = (volatile uint32_t*)&SDI4R,
+        .miso_af  = 0b0010,
+    },
+};
+
+#define SPI_NUMOF           (2)

4 for wifire !

-- 
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/7383#pullrequestreview-65871925
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170928/6e1841e3/attachment.html>


More information about the notifications mailing list