X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/d21a664a23190d6747fb1080de5de5bd6277534e..5337261a68ea89b88624ca6fd7319cadd662e057:/core/i2c/i2c.h?ds=sidebyside diff --git a/core/i2c/i2c.h b/core/i2c/i2c.h index 5e16c82..bdf5b70 100644 --- a/core/i2c/i2c.h +++ b/core/i2c/i2c.h @@ -89,8 +89,8 @@ Fast Mode (400KHz) = CFG_CPU_CCLK / 800000 Fast- Mode Plus (1MHz) = CFG_CPU_CCLK / 2000000 */ -#define I2SCLH_SCLH CFG_CPU_CCLK / 200000 /* Standard Mode I2C SCL Duty Cycle High (400KHz) */ -#define I2SCLL_SCLL CFG_CPU_CCLK / 200000 /* Fast Mode I2C SCL Duty Cycle Low (400KHz) */ +#define I2SCLH_SCLH CFG_CPU_CCLK / 800000 /* Standard Mode I2C SCL Duty Cycle High (400KHz) */ +#define I2SCLL_SCLL CFG_CPU_CCLK / 800000 /* Fast Mode I2C SCL Duty Cycle Low (400KHz) */ #define I2SCLH_HS_SCLH CFG_CPU_CCLK / 2000000 /* Fast Plus I2C SCL Duty Cycle High Reg */ #define I2SCLL_HS_SCLL CFG_CPU_CCLK / 2000000 /* Fast Plus I2C SCL Duty Cycle Low Reg */