mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
V1.0.5
This commit is contained in:
@@ -4,118 +4,231 @@
|
||||
|
||||
# i2c0 parameter
|
||||
|
||||
menu "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_ADDR_BIT
|
||||
bool "Using I2C0 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C0_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_I2C0_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_I2C0_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C0_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_I2C0_SPEED
|
||||
bool "Using I2C0 Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C0_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_I2C0_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C0_BUS_MODE
|
||||
bool "Using I2C0 Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C0_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_I2C0_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_I2C0_BUS_MODE
|
||||
config AIC_DEV_I2C0_SLAVE_ADDR
|
||||
int "I2C0 Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
# i2c1 parameter
|
||||
|
||||
menu "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_ADDR_BIT
|
||||
bool "Using I2C1 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C1_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_I2C1_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_I2C1_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C1_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_I2C1_SPEED
|
||||
bool "Using I2C1 Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C1_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_I2C1_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C1_BUS_MODE
|
||||
bool "Using I2C1 Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C1_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_I2C1_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_I2C1_BUS_MODE
|
||||
config AIC_DEV_I2C1_SLAVE_ADDR
|
||||
int "I2C1 Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
# i2c2 parameter
|
||||
|
||||
menu "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_ADDR_BIT
|
||||
bool "Using I2C2 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C2_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_I2C2_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_I2C2_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C2_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_I2C2_SPEED
|
||||
bool "Using I2C2 Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C2_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_I2C2_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C2_BUS_MODE
|
||||
bool "Using I2C2 Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C2_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_I2C2_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_I2C2_BUS_MODE
|
||||
config AIC_DEV_I2C2_SLAVE_ADDR
|
||||
int "I2C2 Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
# i2c3 parameter
|
||||
|
||||
menu "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_ADDR_BIT
|
||||
bool "Using I2C3 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C3_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_I2C3_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_I2C3_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C3_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_I2C3_SPEED
|
||||
bool "Using I2C3 Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C3_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_I2C3_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C3_BUS_MODE
|
||||
bool "Using I2C3 Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C3_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_I2C3_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_I2C3_BUS_MODE
|
||||
config AIC_DEV_I2C3_SLAVE_ADDR
|
||||
int "I2C3 Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
menu "I2c4 Parameter"
|
||||
menu "I2C4 Parameter"
|
||||
depends on AIC_USING_I2C4
|
||||
|
||||
choice
|
||||
prompt "I2c4 Master && Slave "
|
||||
default AIC_DEV_I2C4_MASTER
|
||||
help
|
||||
Select i2c4 Master or Slave
|
||||
config AIC_DEV_I2C4_ADDR_BIT
|
||||
bool "Using I2C4 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C4_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_I2C4_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_I2C4_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C4_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_I2C4_SPEED
|
||||
bool "Using I2C4 Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C4_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_I2C4_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_I2C4_BUS_MODE
|
||||
bool "Using I2C4 Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_I2C4_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_I2C4_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_I2C4_BUS_MODE
|
||||
config AIC_DEV_I2C4_SLAVE_ADDR
|
||||
int "I2C4 Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
menu "SP_I2c Parameter"
|
||||
menu "SP_I2C Parameter"
|
||||
depends on AIC_USING_SP_I2C
|
||||
|
||||
choice
|
||||
prompt "SP_I2c Master && Slave "
|
||||
default AIC_DEV_SP_I2C_MASTER
|
||||
help
|
||||
Select sp_i2c Master or Slave
|
||||
config AIC_DEV_SP_I2C_ADDR_BIT
|
||||
bool "Using SP-I2C 10-bit Addr(default 7-bit addr)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_SP_I2C_MASTER
|
||||
bool "Master"
|
||||
config AIC_DEV_SP_I2C_10BIT
|
||||
int
|
||||
default 1 if AIC_DEV_SP_I2C_ADDR_BIT
|
||||
default 0
|
||||
|
||||
config AIC_DEV_SP_I2C_SLAVE
|
||||
bool "Slave"
|
||||
endchoice
|
||||
config AIC_DEV_SP_I2C_SPEED
|
||||
bool "Using SP-I2C Stand Speed(default fast speed)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_SP_I2C_100K_SPEED
|
||||
int
|
||||
default 1 if AIC_DEV_SP_I2C_SPEED
|
||||
default 0
|
||||
|
||||
config AIC_DEV_SP_I2C_BUS_MODE
|
||||
bool "Using SP-I2C Slave Mode(default master mode)"
|
||||
default n
|
||||
|
||||
config AIC_DEV_SP_I2C_SLAVE_MODE
|
||||
int
|
||||
default 1 if AIC_DEV_SP_I2C_BUS_MODE
|
||||
default 0
|
||||
|
||||
if AIC_DEV_SP_I2C_BUS_MODE
|
||||
config AIC_DEV_SP_I2C_SLAVE_ADDR
|
||||
int "SP-I2C Slave Addr"
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user