2019-11-01 20:45:29 +08:00
|
|
|
# AMG88XX infrared thermopile sensor configuration options
|
2017-09-25 23:38:33 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2017 Phytec Messtechnik GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig AMG88XX
|
|
|
|
bool "AMG88XX Infrared Thermopile Sensor"
|
2022-07-20 11:41:45 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_PANASONIC_AMG88XX_ENABLED
|
2022-08-04 23:55:31 +08:00
|
|
|
select I2C
|
2017-09-25 23:38:33 +08:00
|
|
|
help
|
|
|
|
Enable driver for AMG88XX infrared thermopile sensor.
|
|
|
|
|
|
|
|
if AMG88XX
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Trigger mode"
|
|
|
|
default AMG88XX_TRIGGER_NONE
|
|
|
|
help
|
|
|
|
Specify the type of triggering used by the driver.
|
|
|
|
|
|
|
|
config AMG88XX_TRIGGER_NONE
|
|
|
|
bool "No trigger"
|
|
|
|
|
|
|
|
config AMG88XX_TRIGGER_GLOBAL_THREAD
|
|
|
|
bool "Use global thread"
|
|
|
|
depends on GPIO
|
|
|
|
select AMG88XX_TRIGGER
|
|
|
|
|
|
|
|
config AMG88XX_TRIGGER_OWN_THREAD
|
|
|
|
bool "Use own thread"
|
|
|
|
depends on GPIO
|
|
|
|
select AMG88XX_TRIGGER
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config AMG88XX_TRIGGER
|
|
|
|
bool
|
|
|
|
|
|
|
|
config AMG88XX_THREAD_PRIORITY
|
|
|
|
int "Thread priority"
|
|
|
|
depends on AMG88XX_TRIGGER_OWN_THREAD
|
|
|
|
default 10
|
|
|
|
help
|
|
|
|
Priority of thread used by the driver to handle interrupts.
|
|
|
|
|
|
|
|
config AMG88XX_THREAD_STACK_SIZE
|
|
|
|
int "Thread stack size"
|
|
|
|
depends on AMG88XX_TRIGGER_OWN_THREAD
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
Stack size of thread used by the driver to handle interrupts.
|
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # AMG88XX
|