Backport the LPC32xx I2C driver to the LPC17xx in order to get the I2C_TRANSFER method

This commit is contained in:
Gregory Nutt
2016-01-30 11:26:38 -06:00
parent 531d73af41
commit 8a37072e87
2 changed files with 287 additions and 155 deletions
+3 -3
View File
@@ -612,17 +612,17 @@ config GPIO_IRQ
menu "I2C driver options"
depends on LPC17_I2C0 || LPC17_I2C1 || LPC17_I2C2
config I2C0_FREQ
config I2C0_DEFAULT_FREQUENCY
int "I2C0 frequency"
depends on LPC17_I2C0
default 100000
config I2C1_FREQ
config I2C1_DEFAULT_FREQUENCY
int "I2C1 frequency"
depends on LPC17_I2C1
default 100000
config I2C2_FREQ
config I2C2_DEFAULT_FREQUENCY
int "I2C2 frequency"
depends on LPC17_I2C2
default 100000
File diff suppressed because it is too large Load Diff