blob: 99a042af33d7b3ba8e4a8f69bcc7cfe0116c8c17 [file] [log] [blame]
# 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