mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Backport the LPC32xx I2C driver to the LPC17xx in order to get the I2C_TRANSFER method
This commit is contained in:
@@ -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
|
||||
|
||||
+284
-152
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user