mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
drivers/i2c: Move wrapper that implements I2C_WRITEREAD using I2C_transfer from pc9555.c to a new, comon i2c directory
This commit is contained in:
+2
-32
@@ -271,38 +271,8 @@ menuconfig I2C
|
||||
See include/nuttx/i2c.h for further I2C driver information.
|
||||
|
||||
if I2C
|
||||
|
||||
config I2C_SLAVE
|
||||
bool "I2C Slave"
|
||||
default n
|
||||
|
||||
config I2C_TRANSFER
|
||||
bool "Support the I2C transfer() method"
|
||||
default n
|
||||
|
||||
config I2C_WRITEREAD
|
||||
bool "Support the I2C writeread() method"
|
||||
default n
|
||||
|
||||
config I2C_POLLED
|
||||
bool "Polled I2C (no interrupts)"
|
||||
default n
|
||||
|
||||
config I2C_TRACE
|
||||
bool "Enable I2C trace debug"
|
||||
default n
|
||||
|
||||
config I2C_NTRACE
|
||||
int "Number of I2C trace records"
|
||||
default 32
|
||||
depends on I2C_TRACE
|
||||
|
||||
config I2C_RESET
|
||||
bool "Support up_i2creset"
|
||||
default n
|
||||
depends on ARCH_HAVE_I2CRESET
|
||||
|
||||
endif # I2C
|
||||
source drivers/i2c/Kconfig
|
||||
endif
|
||||
|
||||
menuconfig SPI
|
||||
bool "SPI Driver Support"
|
||||
|
||||
Reference in New Issue
Block a user