@ -73,19 +73,19 @@
/ / The default timing values below configures the I2C clock to 400 khz assuming a 72 Mhz clock
/ / The default timing values below configures the I2C clock to 400 khz assuming a 72 Mhz clock
/ / For more info : https : / / www . st . com / en / embedded - software / stsw - stm32126 . html
/ / For more info : https : / / www . st . com / en / embedded - software / stsw - stm32126 . html
# ifndef I2C1_TIMINGR_PRESC
# ifndef I2C1_TIMINGR_PRESC
# define I2C1_TIMINGR_PRESC 15 U
# define I2C1_TIMINGR_PRESC 0 U
# endif
# endif
# ifndef I2C1_TIMINGR_SCLDEL
# ifndef I2C1_TIMINGR_SCLDEL
# define I2C1_TIMINGR_SCLDEL 4 U
# define I2C1_TIMINGR_SCLDEL 7 U
# endif
# endif
# ifndef I2C1_TIMINGR_SDADEL
# ifndef I2C1_TIMINGR_SDADEL
# define I2C1_TIMINGR_SDADEL 2 U
# define I2C1_TIMINGR_SDADEL 0 U
# endif
# endif
# ifndef I2C1_TIMINGR_SCLH
# ifndef I2C1_TIMINGR_SCLH
# define I2C1_TIMINGR_SCLH 15 U
# define I2C1_TIMINGR_SCLH 38 U
# endif
# endif
# ifndef I2C1_TIMINGR_SCLL
# ifndef I2C1_TIMINGR_SCLL
# define I2C1_TIMINGR_SCLL 21 U
# define I2C1_TIMINGR_SCLL 129 U
# endif
# endif
# endif
# endif