2020-04-23 20:02:09 +02:00
|
|
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
2021-01-04 11:33:40 +01:00
|
|
|
# 2020 HAW Hamburg
|
2020-04-23 20:02:09 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
2021-01-04 11:33:40 +01:00
|
|
|
|
2024-03-26 10:41:15 +01:00
|
|
|
menu "OPT3001 driver"
|
2020-08-31 09:33:35 +02:00
|
|
|
depends on USEMODULE_OPT3001
|
2020-04-23 20:02:09 +02:00
|
|
|
|
|
|
|
config OPT3001_I2C_ADDRESS
|
|
|
|
hex "Default I2C address"
|
|
|
|
range 0x44 0x47
|
|
|
|
default 0x45
|
|
|
|
help
|
|
|
|
The OPT3001 allows up to 4 devices on single bus. The address depends on
|
|
|
|
the state of ADDR Pin. The default value (0x45) corresponds to ADDR pin
|
|
|
|
tied to VDD. For more information check the I2C Address Selection
|
|
|
|
(7.3.4.1) section in the Datasheet.
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool "Conversion time"
|
|
|
|
default OPT3001_CONVERSION_TIME_800
|
|
|
|
help
|
|
|
|
Time over which the results are integrated. A longer integration time
|
|
|
|
allows for a lower noise measurement.
|
|
|
|
time periods.
|
|
|
|
|
|
|
|
config OPT3001_CONVERSION_TIME_100
|
|
|
|
bool "100 ms"
|
|
|
|
|
|
|
|
config OPT3001_CONVERSION_TIME_800
|
|
|
|
bool "800 ms"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2024-03-26 10:41:15 +01:00
|
|
|
endmenu # OPT3001 driver
|