45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig IOEXPANDER
|
|
bool "IO Expander Support"
|
|
default n
|
|
---help---
|
|
This directory holds implementations of IO expander drivers.
|
|
See include/nuttx/discrete/ioexpander.h for registration information.
|
|
|
|
if IOEXPANDER
|
|
|
|
config IOEXPANDER_MULTIPIN
|
|
bool "Support multi-pin access routines"
|
|
default n
|
|
---help---
|
|
This settings enable the definition of routines for
|
|
optimized simultaneous access to multiple pins.
|
|
|
|
config IOEXPANDER_PCA9555
|
|
bool "PCA9555 I2C IO expander"
|
|
default n
|
|
select I2C
|
|
---help---
|
|
Enable support for the NXP PCA9555 IO Expander
|
|
|
|
if IOEXPANDER_PCA9555
|
|
|
|
config PCA9555_MULTIPLE
|
|
bool "Multiple PCA9555 Devices"
|
|
default n
|
|
---help---
|
|
Can be defined to support multiple PCA9555 devices on board.
|
|
|
|
config PCA9555_INT_DISABLE
|
|
bool "Disable PCA9555 Interrupt Support"
|
|
default y
|
|
---help---
|
|
Disable driver interrupt functionality
|
|
|
|
endif # IOEXPANDER_PCA9555
|
|
endif # IOEXPANDER
|