[Bug] Xelus Keyboards 400kHz i2c fix (#15315)

* 400khz fix

* fix valor rev2 timing

* keep consistent
master
Xelus22 2021-11-28 12:12:04 +11:00 committed by GitHub
parent 88fe5c16a5
commit eaf17b3260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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