200kHz on non REVPLUS boards
This commit is contained in:
@@ -324,6 +324,11 @@
|
||||
#define I2C_GPIO_AF GPIO_AF_I2C1
|
||||
#define I2C_GPIO_PinSource_SCL GPIO_PinSource6
|
||||
#define I2C_GPIO_PinSource_SDA GPIO_PinSource7
|
||||
#if defined(REVPLUS)
|
||||
#define I2C_SPEED 400000
|
||||
#else
|
||||
#define I2C_SPEED 200000
|
||||
#endif
|
||||
#define I2C_ADDRESS_EEPROM 0xA2
|
||||
#define I2C_ADDRESS_CAT5137 0x5C
|
||||
#define I2C_FLASH_PAGESIZE 64
|
||||
|
||||
Reference in New Issue
Block a user