mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
64 lines
1.7 KiB
Plaintext
64 lines
1.7 KiB
Plaintext
#-----------------------------
|
|
# Tsensor devices local parameter
|
|
#-----------------------------
|
|
|
|
menu "TSEN_CPU Parameter"
|
|
depends on AIC_USING_TSEN_CPU
|
|
|
|
choice
|
|
prompt "obtaning data mode"
|
|
default AIC_TSEN0_SOFT_MODE_SINGLE_INTER
|
|
help
|
|
Select the obtaning data mode
|
|
|
|
config AIC_TSEN0_SOFT_MODE_SINGLE_INTER
|
|
bool "single interrupt mode"
|
|
config AIC_TSEN0_SOFT_MODE_SINGLE_POLL
|
|
bool "polling mode"
|
|
|
|
endchoice
|
|
|
|
config AIC_TSEN0_SOFT_MODE
|
|
int
|
|
default 0 if AIC_TSEN0_SOFT_MODE_SINGLE_INTER
|
|
default 1 if AIC_TSEN0_SOFT_MODE_PERIOD_INTER
|
|
default 2 if AIC_TSEN0_SOFT_MODE_SINGLE_POLL
|
|
|
|
config AIC_TSEN0_MODE
|
|
int
|
|
default 0 if AIC_TSEN0_SOFT_MODE_SINGLE_INTER
|
|
default 1 if AIC_TSEN0_SOFT_MODE_PERIOD_INTER
|
|
default 0 if AIC_TSEN0_SOFT_MODE_SINGLE_POLL
|
|
|
|
endmenu
|
|
|
|
menu "TSEN_GPAI Parameter"
|
|
depends on AIC_USING_TSEN_GPAI
|
|
|
|
choice
|
|
prompt "obtaning data mode"
|
|
default AIC_TSEN1_SOFT_MODE_SINGLE_INTER
|
|
help
|
|
Select the obtaning data mode
|
|
|
|
config AIC_TSEN1_SOFT_MODE_SINGLE_INTER
|
|
bool "single interrupt mode"
|
|
config AIC_TSEN1_SOFT_MODE_SINGLE_POLL
|
|
bool "polling mode"
|
|
|
|
endchoice
|
|
|
|
config AIC_TSEN1_SOFT_MODE
|
|
int
|
|
default 0 if AIC_TSEN1_SOFT_MODE_SINGLE_INTER
|
|
default 1 if AIC_TSEN1_SOFT_MODE_PERIOD_INTER
|
|
default 2 if AIC_TSEN1_SOFT_MODE_SINGLE_POLL
|
|
|
|
config AIC_TSEN1_MODE
|
|
int
|
|
default 0 if AIC_TSEN1_SOFT_MODE_SINGLE_INTER
|
|
default 1 if AIC_TSEN1_SOFT_MODE_PERIOD_INTER
|
|
default 0 if AIC_TSEN1_SOFT_MODE_SINGLE_POLL
|
|
|
|
endmenu
|