2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-11 20:12:03 +02:00
|
|
|
|
2012-04-14 22:01:08 +02:00
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_I2CTOOL
|
2012-04-14 22:01:08 +02:00
|
|
|
bool "I2C tool"
|
|
|
|
default n
|
|
|
|
depends on I2C
|
|
|
|
---help---
|
|
|
|
Enable support for the I2C tool.
|
|
|
|
|
2013-06-13 01:32:00 +02:00
|
|
|
if SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
|
|
|
|
config I2CTOOL_MINBUS
|
|
|
|
int "Minimum bus number"
|
|
|
|
default 0
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Smallest bus index supported by the hardware (default 0).
|
|
|
|
|
|
|
|
config I2CTOOL_MAXBUS
|
|
|
|
int "Maximum bus number"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 3
|
|
|
|
---help---
|
|
|
|
Largest bus index supported by the hardware (default 3)
|
|
|
|
|
|
|
|
config I2CTOOL_MINADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Minimum I2C address"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0x03
|
|
|
|
---help---
|
|
|
|
Minium 7-bit device address (default: 0x03)
|
|
|
|
|
|
|
|
config I2CTOOL_MAXADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Maximum I2C address"
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0x77
|
|
|
|
---help---
|
|
|
|
Largest 7-bit device address (default: 0x77)
|
|
|
|
|
|
|
|
config I2CTOOL_MAXREGADDR
|
2012-04-12 23:52:04 +02:00
|
|
|
hex "Maximum I2C register address"
|
2012-04-11 20:12:03 +02:00
|
|
|
default 0xff
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
|
|
|
Largest I2C register address (default: 0xff)
|
|
|
|
|
|
|
|
config I2CTOOL_DEFFREQ
|
|
|
|
int "Default I2C frequency"
|
2013-10-10 17:55:08 +02:00
|
|
|
default 400000
|
2012-04-14 22:22:48 +02:00
|
|
|
depends on SYSTEM_I2CTOOL
|
2012-04-11 20:12:03 +02:00
|
|
|
---help---
|
2013-10-10 17:55:08 +02:00
|
|
|
Default I2C frequency (default: 400000)
|
2013-06-13 01:32:00 +02:00
|
|
|
|
|
|
|
endif
|