mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-26 05:58:54 +00:00
V1.0.5
This commit is contained in:
63
bsp/artinchip/drv/tsen/Kconfig.dev
Normal file
63
bsp/artinchip/drv/tsen/Kconfig.dev
Normal file
@@ -0,0 +1,63 @@
|
||||
#-----------------------------
|
||||
# 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
|
||||
Reference in New Issue
Block a user