zephyr/drivers/sensor/lps22hb/Kconfig

28 lines
501 B
Plaintext

#
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig LPS22HB
bool "LPS22HB pressure and temperature"
depends on I2C && HAS_DTS_I2C
help
Enable driver for LPS22HB I2C-based pressure and temperature
sensor.
if LPS22HB
menu "Attributes"
config LPS22HB_SAMPLING_RATE
int "Output data rate"
default 25
help
Sensor output data rate expressed in samples per second.
Data rates supported by the chip are 1, 10, 25, 50, 75.
endmenu
endif # LPS22HB