[Bug] Xelus Keyboards 400kHz i2c fix (#15315)
* 400khz fix * fix valor rev2 timing * keep consistent
This commit is contained in:
parent
88fe5c16a5
commit
eaf17b3260
3 changed files with 9 additions and 9 deletions
|
@ -50,10 +50,10 @@
|
||||||
#define I2C1_SCL_PAL_MODE 4
|
#define I2C1_SCL_PAL_MODE 4
|
||||||
#define I2C1_SDA_PAL_MODE 4
|
#define I2C1_SDA_PAL_MODE 4
|
||||||
#define I2C1_TIMINGR_PRESC 0U
|
#define I2C1_TIMINGR_PRESC 0U
|
||||||
#define I2C1_TIMINGR_SCLDEL 11U
|
#define I2C1_TIMINGR_SCLDEL 7U
|
||||||
#define I2C1_TIMINGR_SDADEL 0U
|
#define I2C1_TIMINGR_SDADEL 0U
|
||||||
#define I2C1_TIMINGR_SCLH 14U
|
#define I2C1_TIMINGR_SCLH 45U
|
||||||
#define I2C1_TIMINGR_SCLL 42U
|
#define I2C1_TIMINGR_SCLL 149U
|
||||||
|
|
||||||
// I2C EEPROM
|
// I2C EEPROM
|
||||||
#define EEPROM_I2C_24LC64
|
#define EEPROM_I2C_24LC64
|
||||||
|
|
|
@ -50,10 +50,10 @@
|
||||||
#define I2C1_SCL_PAL_MODE 4
|
#define I2C1_SCL_PAL_MODE 4
|
||||||
#define I2C1_SDA_PAL_MODE 4
|
#define I2C1_SDA_PAL_MODE 4
|
||||||
#define I2C1_TIMINGR_PRESC 0U
|
#define I2C1_TIMINGR_PRESC 0U
|
||||||
#define I2C1_TIMINGR_SCLDEL 11U
|
#define I2C1_TIMINGR_SCLDEL 7U
|
||||||
#define I2C1_TIMINGR_SDADEL 0U
|
#define I2C1_TIMINGR_SDADEL 0U
|
||||||
#define I2C1_TIMINGR_SCLH 14U
|
#define I2C1_TIMINGR_SCLH 45U
|
||||||
#define I2C1_TIMINGR_SCLL 42U
|
#define I2C1_TIMINGR_SCLL 149U
|
||||||
|
|
||||||
// I2C EEPROM
|
// I2C EEPROM
|
||||||
#define EEPROM_I2C_24LC64
|
#define EEPROM_I2C_24LC64
|
||||||
|
|
|
@ -52,10 +52,10 @@
|
||||||
#define I2C1_SCL_PAL_MODE 4
|
#define I2C1_SCL_PAL_MODE 4
|
||||||
#define I2C1_SDA_PAL_MODE 4
|
#define I2C1_SDA_PAL_MODE 4
|
||||||
#define I2C1_TIMINGR_PRESC 0U
|
#define I2C1_TIMINGR_PRESC 0U
|
||||||
#define I2C1_TIMINGR_SCLDEL 11U
|
#define I2C1_TIMINGR_SCLDEL 7U
|
||||||
#define I2C1_TIMINGR_SDADEL 0U
|
#define I2C1_TIMINGR_SDADEL 0U
|
||||||
#define I2C1_TIMINGR_SCLH 14U
|
#define I2C1_TIMINGR_SCLH 45U
|
||||||
#define I2C1_TIMINGR_SCLL 42U
|
#define I2C1_TIMINGR_SCLL 149U
|
||||||
|
|
||||||
// I2C EEPROM
|
// I2C EEPROM
|
||||||
#define EEPROM_I2C_24LC64
|
#define EEPROM_I2C_24LC64
|
||||||
|
|
Loading…
Reference in a new issue