Files
luban-lite-t3e-pro/bsp/artinchip/drv/i2c/Kconfig.dev
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

88 lines
1.5 KiB
Plaintext

#-----------------------------
# i2c devices local parameter
#-----------------------------
# i2c0 parameter
menu "I2c0 Parameter"
depends on AIC_USING_I2C0
choice
prompt "I2c0 Master && Slave "
default AIC_DEV_I2C0_MASTER
help
Select i2c0 Master or Slave
config AIC_DEV_I2C0_MASTER
bool "Master"
config AIC_DEV_I2C0_SLAVE
bool "Slave"
endchoice
endmenu
# i2c1 parameter
menu "I2c1 Parameter"
depends on AIC_USING_I2C1
choice
prompt "I2c1 Master && Slave "
default AIC_DEV_I2C1_MASTER
help
Select i2c1 Master or Slave
config AIC_DEV_I2C1_MASTER
bool "Master"
config AIC_DEV_I2C1_SLAVE
bool "Slave"
endchoice
endmenu
# i2c2 parameter
menu "I2c2 Parameter"
depends on AIC_USING_I2C2
choice
prompt "I2c2 Master && Slave "
default AIC_DEV_I2C2_MASTER
help
Select i2c2 Master or Slave
config AIC_DEV_I2C2_MASTER
bool "Master"
config AIC_DEV_I2C2_SLAVE
bool "Slave"
endchoice
endmenu
# i2c3 parameter
menu "I2c3 Parameter"
depends on AIC_USING_I2C3
choice
prompt "I2c3 Master && Slave "
default AIC_DEV_I2C3_MASTER
help
Select i2c3 Master or Slave
config AIC_DEV_I2C3_MASTER
bool "Master"
config AIC_DEV_I2C3_SLAVE
bool "Slave"
endchoice
endmenu
# common parameter