[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)
notifications at github.com
Mon Sep 16 22:56:30 CEST 2019
benpicco commented on this pull request.
+ return 0;
+ * @brief gpio_write writes to a GPIO pin dev (external) the value value
+ * @param dev external pin
+ * @param value value to be written (will be masked)
+void gpio_write(gpio_t dev, int value)
+ uint8_t port = gpio_port_num(dev);
+ unsigned char ipin = gpio_pin_mask(dev);
+ unsigned long portAddr = (unsigned long)gpio_port_by_num(port);
Just use `uint32_t` and `uint8_t` everywhere for consistency.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications