zephyr/drivers/sensor/ms5607/Kconfig
Aurelien Jarno 9d0169deaf drivers/sensor: ms5607: Add I2C support
Add I2C support to the MS5607 driver, which mostly consist in adding the
I2C transfer functions.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2021-06-18 11:23:07 +02:00

58 lines
934 B
Plaintext

# MS5607 pressure sensor configuration options
# Copyright (c) 2019 Thomas Schmid <tom@lfence.de>
# SPDX-License-Identifier: Apache-2.0
menuconfig MS5607
bool "MS5607 pressure and temperature sensor"
depends on I2C || SPI
help
Enable driver for MS5607 pressure and temperature sensor.
if MS5607
choice
prompt "Pressure oversampling."
default MS5607_PRES_OVER_2048X
config MS5607_PRES_OVER_256X
bool "x256"
config MS5607_PRES_OVER_512X
bool "x512"
config MS5607_PRES_OVER_1024X
bool "x1024"
config MS5607_PRES_OVER_2048X
bool "x2048"
config MS5607_PRES_OVER_4096X
bool "x4096"
endchoice
choice
prompt "Temperature oversampling."
default MS5607_TEMP_OVER_2048X
config MS5607_TEMP_OVER_256X
bool "x256"
config MS5607_TEMP_OVER_512X
bool "x512"
config MS5607_TEMP_OVER_1024X
bool "x1024"
config MS5607_TEMP_OVER_2048X
bool "x2048"
config MS5607_TEMP_OVER_4096X
bool "x4096"
endchoice
endif # MS5607