这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions peripherals/sensors/ap3216c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ if PKG_USING_AP3216C
string
default "/packages/peripherals/sensors/ap3216c"

config AP3216C_USING_SENSOR_DEVICE
bool "Enable sensor divce framework"
config PKG_AP3216C_USING_SENSOR_V2
bool "Enable sensor_v2 divce framework"
depends on RT_VER_NUM >= 0x50001
select RT_USING_SENSOR
select RT_USING_SENSOR_V2
default n

config AP3216C_USING_HW_INT
config PKG_AP3216C_USING_HW_INT
bool "Enable hardware interrupt."
default n
help
"It will enable hardware interrupt for the sensor, include als and ps interrupt."

if AP3216C_USING_HW_INT
if PKG_AP3216C_USING_HW_INT

config AP3216C_INT_PIN
int "The number of the sensor hardware interrupt pin."
Expand Down