[riot-notifications] [RIOT-OS/RIOT] cpu/nrf52: Add i2c reconfigure feature (#15527)
notifications at github.com
Mon Nov 30 17:12:40 CET 2020
@Einhornhool commented on this pull request.
> + gpio_init(i2c_config[dev].sda, GPIO_IN_OD_PU);
+ bus(dev)->PSEL.SCL = i2c_config[dev].scl;
+ bus(dev)->PSEL.SDA = i2c_config[dev].sda;
+ bus(dev)->ENABLE = TWIM_ENABLE_ENABLE_Enabled;
+void i2c_deinit_pins(i2c_t dev)
+ assert(dev < I2C_NUMOF);
+ bus(dev)->ENABLE = TWIM_ENABLE_ENABLE_Disabled;
Thanks for the quick feedback.
Does that mean, you want me to remove this?
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