mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 09:38:37 +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:
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user