[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

benpicco notifications at github.com
Sun Sep 15 21:43:49 CEST 2019


benpicco commented on this pull request.



> +    handle_isr((cc3200_gpio_t *)GPIOA3_BASE);
+}
+
+/**
+ * @brief isr interrupt handler
+ *
+ * @param portAddr base address of the GPIO PORT
+ */
+void handle_isr(cc3200_gpio_t *u)
+{
+    uint32_t state = u->mis;
+
+    /* clear interrupt */
+    u->icr = state;
+    for (int i = 0; i < 8; i++) {
+        if (state & (1 << i)) {

That'd be great! Right now I think the Ti platforms are a bit short in love they receive. There is potentially a lot of code duplication between cc2538,  cc26x0, cc3200 and possibly lm4f120 too as hardware vendors tend to have a set of peripheral IP that they just reuse for their entire line-up of SoCs.

-- 
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/11866#discussion_r324477988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190915/c8397d68/attachment.htm>


More information about the notifications mailing list