2017-05-02 21:21:36 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Linaro Limited
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig LPS22HB
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "LPS22HB pressure and temperature"
|
2018-09-17 08:23:36 +08:00
|
|
|
depends on I2C && HAS_DTS_I2C
|
2017-05-02 21:21:36 +08:00
|
|
|
help
|
|
|
|
Enable driver for LPS22HB I2C-based pressure and temperature
|
|
|
|
sensor.
|
|
|
|
|
2018-09-13 06:23:26 +08:00
|
|
|
if LPS22HB
|
|
|
|
|
2017-05-02 21:21:36 +08:00
|
|
|
menu "Attributes"
|
|
|
|
|
|
|
|
config LPS22HB_SAMPLING_RATE
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Output data rate"
|
2017-05-02 21:21:36 +08:00
|
|
|
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
|
2018-09-13 06:23:26 +08:00
|
|
|
|
|
|
|
endif # LPS22HB
|