Home
last modified time | relevance | path

Searched +full:drdy +full:- +full:pin (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/dts/bindings/sensor/
Dst,iis328dq-common.yaml3 # SPDX-License-Identifier: Apache-2.0
5 include: sensor-device.yaml
8 int1-gpios:
9 type: phandle-array
11 INT_1 pin
13 This pin defaults to active high when produced by the sensor. The property value should ensure
16 int2-gpios:
17 type: phandle-array
19 INT_2 pin
21 This pin defaults to active high when produced by the sensor. The property value should ensure
[all …]
Dst,iis2iclx-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/iis2iclx.h>
18 include: sensor-device.yaml
21 drdy-gpios:
22 type: phandle-array
24 DRDY pin
26 This pin defaults to active high when produced by the sensor.
30 int-pin:
35 Select DRDY pin number (1 or 2).
38 (INT1 or INT2) the drdy line is attached to. This property is not
[all …]
Dst,lis2du12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-range, accel-odr, properties in a .dts or .dtsi
9 #include <zephyr/dt-bindings/sensor/lis2du12.h>
14 accel-range = <LIS2DU12_DT_FS_16G>;
15 accel-odr = <LIS2DU12_DT_ODR_AT_50Hz>;
18 include: sensor-device.yaml
21 int1-gpios:
22 type: phandle-array
24 INT1 pin
26 This pin defaults to active high when produced by the sensor.
[all …]
Dst,lis2dux12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the odr, power-mode, and range properties in a .dts or .dtsi file you may include
8 #include <zephyr/dt-bindings/sensor/st_lis2dux12.h>
11 power-mode = <LIS2DUX12_OPER_MODE_LOW_POWER>;
16 include: sensor-device.yaml
19 int1-gpios:
20 type: phandle-array
22 INT1 pin
24 This pin defaults to active high when produced by the sensor.
27 int2-gpios:
[all …]
Dti,hdc20xx.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: [sensor-device.yaml, i2c-device.yaml]
9 int-gpios:
10 type: phandle-array
11 description: DRDY/INT pin.
13 The DRDY/INT pin of HDC20xx sensor is open-drain, active low. If
14 connected directly the MCU pin should be configured as pull-up
15 as pull-up, active low.
Dst,ism330dhcx-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-odr and gyro-odr properties in a .dts or .dtsi file you may include
9 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
14 accel-odr = <ISM330DHCX_DT_ODR_104Hz>;
15 gyro-odr = <ISM330DHCX_DT_ODR_104Hz>;
18 include: sensor-device.yaml
21 drdy-gpios:
22 type: phandle-array
24 DRDY gpio pin
26 This pin defaults to active high when produced by the sensor.
[all …]
Dst,hts221-common.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: sensor-device.yaml
7 drdy-gpios:
8 type: phandle-array
9 description: DRDY pin
11 This pin defaults to active high when produced by the sensor.
Dst,stts751-i2c.yaml2 # SPDX-License-Identifier: Apache-2.0
9 include: [sensor-device.yaml, i2c-device.yaml]
12 drdy-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dst,iis2dh-i2c.yaml2 # SPDX-License-Identifier: Apache-2.0
9 include: [sensor-device.yaml, i2c-device.yaml]
12 drdy-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dst,iis2dh-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
9 include: [sensor-device.yaml, spi-device.yaml]
12 drdy-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dst,iis2mdc-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
9 include: [sensor-device.yaml, spi-device.yaml]
12 drdy-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dst,iis2mdc-i2c.yaml2 # SPDX-License-Identifier: Apache-2.0
9 include: [sensor-device.yaml, i2c-device.yaml]
12 drdy-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dst,lsm6dso-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
6 gyro-odr properties in a .dts or .dtsi file you may include lsm6dso.h
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
15 accel-pm = <LSM6DSO_DT_XL_ULP_MODE>;
16 accel-range = <LSM6DSO_DT_FS_8G>;
17 accel-odr = <LSM6DSO_DT_ODR_1Hz6>;
18 gyro-pm = <LSM6DSO_DT_GY_NORMAL_MODE>;
19 gyro-range = <LSM6DSO_DT_FS_2000DPS>;
20 gyro-odr = <LSM6DSO_DT_ODR_6667Hz>;
[all …]
Dst,lsm6dso16is-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-range, accel-odr, gyro-range, gyro-odr properties in
10 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
15 accel-range = <LSM6DSO16IS_DT_FS_8G>;
16 accel-odr = <LSM6DSO16IS_DT_ODR_104Hz_LP>;
17 gyro-range = <LSM6DSO16IS_DT_FS_2000DPS>;
18 gyro-odr = <LSM6DSO16IS_DT_ODR_104Hz_LP>;
21 include: sensor-device.yaml
24 irq-gpios:
25 type: phandle-array
[all …]
Dst,iis2dlpc-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
14 tap-mode = <IIS2DLPC_DT_SINGLE_DOUBLE_TAP>;
15 power-mode = <IIS2DLPC_DT_HP_MODE>;
18 include: sensor-device.yaml
21 drdy-gpios:
22 type: phandle-array
24 DRDY pin
26 This pin defaults to active high when produced by the sensor.
30 drdy-int:
[all …]
Dst,lps22hh-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lps22hh.h>
17 include: sensor-device.yaml
20 drdy-gpios:
21 type: phandle-array
23 DRDY pin
25 This pin defaults to active high when produced by the sensor.
34 The default is the power-on reset value.
36 - 0 # LPS22HH_DT_ODR_POWER_DOWN
37 - 1 # LPS22HH_DT_ODR_1HZ
[all …]
Dst,lps22df-common.yaml3 # SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/sensor/lps22df.h>
20 include: sensor-device.yaml
23 drdy-gpios:
24 type: phandle-array
26 DRDY pin
28 This pin defaults to active high when produced by the sensor.
32 drdy-pulsed:
35 Selects the pulsed mode for data-ready interrupt when enabled,
43 The default is the power-on reset value.
[all …]
Dti,hdc.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 drdy-gpios:
12 type: phandle-array
13 description: Data ready pin.
15 The DRDYn pin of HDC sensor is open-drain, active low.
16 If connected directly the MCU pin should be configured
17 as pull-up, active low.
Dst,iis3dhhc-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
5 STMicroelectronics IIS3DHHC 3-axis accelerometer accessed through SPI bus
9 include: [sensor-device.yaml, spi-device.yaml]
12 irq-gpios:
13 type: phandle-array
14 description: DRDY pin
16 This pin defaults to active high when produced by the sensor.
Dhoneywell,hmc5883l.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Honeywell HMC5883L 3-axis magnetometer sensor
8 include: [sensor-device.yaml, i2c-device.yaml]
11 int-gpios:
12 type: phandle-array
13 description: DRDY pin
15 This pin is active low, with an internal pullup in the sensor.
Dst,lis3mdl-magn.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "st,lis3mdl-magn"
8 include: [sensor-device.yaml, i2c-device.yaml]
11 irq-gpios:
12 type: phandle-array
13 description: DRDY pin
15 This pin defaults to active high when produced by the sensor.
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/
Dx_nucleo_iks4a1.overlay4 * SPDX-License-Identifier: Apache-2.0
21 accel-odr = <0x1b>;
22 gyro-odr = <0x11>;
23 irq-gpios = <&arduino_header 5 GPIO_ACTIVE_HIGH>; /* A5 (PC0) */
24 drdy-pin = <1>;
30 accel-odr = <0x02>;
31 gyro-odr = <0x02>;
32 int2-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 (PB5) */
33 drdy-pin = <2>;
34 drdy-pulsed;
[all …]
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/
Dx_nucleo_iks02a1.overlay4 * SPDX-License-Identifier: Apache-2.0
10 * JP7 => 1-2, 3-4 (I2C1 = I2C2, I2Cx=GND)
11 * JP8 => 1-2, 3-4 (I2C1 = I2C2, I2Cx=GND)
28 drdy-gpios = <&arduino_header 4 GPIO_ACTIVE_HIGH>; /* A4 - INT2 */
29 drdy-int = <2>;
35 drdy-gpios = <&arduino_header 2 GPIO_ACTIVE_HIGH>; /* A2 */
41 drdy-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 - INT2 */
42 int-pin = <2>;
Dx_nucleo_iks02a1_shub.overlay4 * SPDX-License-Identifier: Apache-2.0
10 * JP7 => 2-3 (I2C1 = I2Cx)
11 * JP8 => 2-3 (I2C1 = I2Cx)
30 drdy-gpios = <&arduino_header 4 GPIO_ACTIVE_HIGH>; /* A4 - INT2 */
31 drdy-int = <2>;
37 drdy-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 - INT2 */
38 int-pin = <2>;
/Zephyr-latest/drivers/sensor/ti/ti_hdc/
Dti_hdc.c4 * SPDX-License-Identifier: Apache-2.0
27 const struct ti_hdc_config *cfg = drv_data->dev->config; in ti_hdc_gpio_callback()
31 gpio_pin_interrupt_configure_dt(&cfg->drdy, GPIO_INT_DISABLE); in ti_hdc_gpio_callback()
32 k_sem_give(&drv_data->data_sem); in ti_hdc_gpio_callback()
38 struct ti_hdc_data *drv_data = dev->data; in ti_hdc_sample_fetch()
39 const struct ti_hdc_config *cfg = dev->config; in ti_hdc_sample_fetch()
44 if (cfg->drdy.port) { in ti_hdc_sample_fetch()
45 gpio_pin_interrupt_configure_dt(&cfg->drdy, GPIO_INT_EDGE_TO_ACTIVE); in ti_hdc_sample_fetch()
49 if (i2c_write_dt(&cfg->i2c, buf, 1) < 0) { in ti_hdc_sample_fetch()
51 return -EIO; in ti_hdc_sample_fetch()
[all …]

1234