8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b33cd1 commit 09a3153Copy full SHA for 09a3153
ports/mimxrt10xx/common-hal/busio/I2C.c
@@ -34,10 +34,8 @@
34
35
#include "fsl_lpi2c.h"
36
37
-//TODO
+#define I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (1+CLOCK_GetDiv(kCLOCK_Lpi2cDiv)))
38
39
-#define I2C_CLOCK_SOURCE_DIVIDER (5U)
40
-#define I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (I2C_CLOCK_SOURCE_DIVIDER + 1U))
41
42
static void config_periph_pin(const mcu_periph_obj_t *periph) {
43
IOMUXC_SetPinMux(
0 commit comments