2020-11-18 11:02:00 +01:00
|
|
|
# Copyright (c) 2020 HAW Hamburg
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig MODULE_CCS811
|
2022-03-02 14:03:34 +01:00
|
|
|
bool
|
|
|
|
prompt "CCS811 digital gas sensor" if !(MODULE_SAUL_DEFAULT && HAVE_CCS811)
|
|
|
|
default (MODULE_SAUL_DEFAULT && HAVE_CCS811)
|
2020-11-18 11:02:00 +01:00
|
|
|
depends on HAS_PERIPH_GPIO
|
|
|
|
depends on HAS_PERIPH_I2C
|
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_PERIPH_GPIO
|
|
|
|
select MODULE_PERIPH_I2C
|
2022-03-16 12:53:45 +01:00
|
|
|
select ZTIMER_USEC
|
2020-11-18 11:02:00 +01:00
|
|
|
|
|
|
|
config MODULE_CCS811_FULL
|
|
|
|
bool "Full functionalities"
|
|
|
|
depends on MODULE_CCS811
|
|
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
|
|
select MODULE_PERIPH_GPIO_IRQ
|
|
|
|
help
|
|
|
|
Say n if code size is critical, otherwise using the this module is
|
|
|
|
recommended.
|
|
|
|
Features included by this module are:
|
|
|
|
- data ready and threshold interrupt handling
|
|
|
|
- compensate gas readings using an external sensor
|
|
|
|
- manual baseline handling
|
2021-11-12 14:58:14 +01:00
|
|
|
|
|
|
|
config HAVE_CCS811
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a ccs811 sensor is present.
|