Home
last modified time | relevance | path

Searched +full:ens160 +full:- +full:datasheet (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/chemical/
H A Dsciosense,ens160.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/chemical/sciosense,ens160.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ScioSense ENS160 multi-gas sensor
10 - Gustavo Silva <gustavograzs@gmail.com>
13 Digital Multi-Gas Sensor for Monitoring Indoor Air Quality.
15 Datasheet:
16 https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf
21 - sciosense,ens160
[all …]
/linux/drivers/iio/chemical/
H A Dens160_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * ScioSense ENS160 multi-gas sensor driver
7 * Datasheet:
8 * https://www.sciosense.com/wp-content/uploads/2023/12/ENS160-Datasheet.pdf
19 #include "ens160.h"
112 iio_device_claim_direct_scoped(return -EBUSY, indio_dev) { in ens160_read_raw()
113 guard(mutex)(&data->mutex); in ens160_read_raw()
114 ret = regmap_bulk_read(data->regmap, chan->address, in ens160_read_raw()
115 &data->buf, sizeof(data->buf)); in ens160_read_raw()
118 *val = le16_to_cpu(data->buf); in ens160_read_raw()
[all …]