[riot-notifications] [RIOT-OS/RIOT] cpu/qn908x: Initial minimal support for NXP QN908x CPUs. (#13855)

iosabi notifications at github.com
Sun Nov 29 19:17:14 CET 2020


@iosabi commented on this pull request.



> + *
+ * @{
+ *
+ * @file
+ * @brief       Common Pin MUX functions.
+ *
+ * @author      iosabi <iosabi at protonmail.com>
+ *
+ * @}
+ */
+
+#include "mux_common.h"
+
+#include "vendor/drivers/fsl_iocon.h"
+
+void mux_set_pin(gpio_t pin, uint32_t func)

The issue with this is that is not gpio related only. The iocon is used to select the function of the pin, which "GPIO" is one of those functions. I'll use this from other drivers to set the I/O pin to the right function.

-- 
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/13855#discussion_r532246183
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201129/3b2a7046/attachment.htm>


More information about the notifications mailing list