You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid time spent to compute the I2C timing, it can be defined in
the variant.h or build_opt.h or hal_conf_extra.h with:
* I2C_TIMING_SM for Standard Mode (100kHz)
* I2C_TIMING_FM for Fast Mode (400kHz)
* I2C_TIMING_FMP for Fast Mode Plus (1000kHz)
Example for a STM32F0xx using HSI clock as I2C clock source:
#define I2C_TIMING_SM 0x00201D2B
#define I2C_TIMING_FM 0x0010020A
Signed-off-by: Frederic.Pillon <[email protected]>
0 commit comments