Home
last modified time | relevance | path

Searched +full:data +full:- +full:ready +full:- +full:gpios (Results 1 – 25 of 103) sorted by relevance

12345

/Zephyr-latest/dts/bindings/sensor/
Dbosch,bmm150.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: sensor-device.yaml
9 drdy-gpios:
10 type: phandle-array
12 This property specifies the connection for data ready pin.
13 The polarity default is active high when sensor data is ready.
Dbosch,bmi08x-gyro.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: sensor-device.yaml
9 int-gpios:
10 type: phandle-array
16 int3-4-map-io:
19 Bit[0] will map the data ready interrupt on INT3
22 Bit[7] will enable the data ready interrupt on INT4
24 int3-4-conf-io:
28 Bit[1]: if set to 1, INT3 is open-drain, otherwise it's push-pull
30 Bit[3]: if set to 1, INT4 is open-drain, otherwise it's push-pull
[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.
17 as pull-up, active low.
Dbosch,bmi08x-accel.yaml2 # SPDX-License-Identifier: Apache-2.0
6 include: sensor-device.yaml
9 int-gpios:
10 type: phandle-array
16 int1-map-io:
19 Bit[0]: Map Interrupt A to INT1, Accel Data Ready
23 int2-map-io:
26 Bit[0]: Map Interrupt A to INT2, Accel Data Ready
30 int1-conf-io:
35 Bit[2]: if set to 1, INT1 is open-drain, otherwise it's push-pull
[all …]
Dst,lis2de12-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/lis2de12.h>
14 accel-range = <LIS2DE12_DT_FS_16G>;
15 accel-odr = <LIS2DE12_DT_ODR_AT_100Hz>;
18 include: sensor-device.yaml
21 int1-gpios:
22 type: phandle-array
30 int2-gpios:
31 type: phandle-array
[all …]
/Zephyr-latest/drivers/sensor/nxp/fxls8974/
DKconfig1 # FXLS8974 3-axis accelerometer
4 # SPDX-License-Identifier: Apache-2.0
27 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXLS8974),int1-gpios) || \
28 $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXLS8974),int2-gpios)
41 bool "Data ready interrupt to INT1 pin"
44 Say Y to route data ready interrupt to INT1 pin. Say N to route to
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
15 Enable driver for IIS3DHHC SPI-based accelerometer sensor.
31 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_IIS3DHHC),irq-gpios)
37 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_IIS3DHHC),irq-gpios)
66 bool "Data ready interrupt to INT1 pin"
70 Say Y to route data ready interrupt to INT1 pin. Say N to route to
/Zephyr-latest/dts/bindings/adc/
Dti,ads114s08.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [adc-controller.yaml, spi-device.yaml]
13 "#io-channel-cells":
16 reset-gpios:
17 type: phandle-array
20 drdy-gpios:
21 type: phandle-array
24 GPIO for data ready, becomes active when a conversion result is ready
26 start-sync-gpios:
27 type: phandle-array
[all …]
Dti,ads131m02.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [adc-controller.yaml, spi-device.yaml]
11 "#io-channel-cells":
14 drdy-gpios:
15 type: phandle-array
18 GPIO for data ready, becomes active when a conversion result is ready.
21 io-channel-cells:
22 - input
Dti,lmp90xxx-base.yaml3 include: [adc-controller.yaml, spi-device.yaml]
8 drdyb-gpios:
9 type: phandle-array
10 description: Data Ready Bar
12 "#io-channel-cells":
15 io-channel-cells:
16 - input
Dmaxim,max1125x-base.yaml3 include: [adc-controller.yaml, spi-device.yaml]
6 "#io-channel-cells":
8 gpio0-enable:
11 gpio1-enable:
14 gpio0-direction:
17 gpio1-direction:
20 gpo0-enable:
23 gpo1-enable:
26 drdy-gpios:
27 type: phandle-array
[all …]
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
DKconfig1 # FXAS21002 3-axis gyroscope
4 # SPDX-License-Identifier: Apache-2.0
23 pre-production devices can have a different value. It is unlikely you
32 0: +/-2000 dps (62.5 mdps/LSB)
33 1: +/-1000 dps (31.25 mdps/LSB)
34 2: +/-500 dps (15.625 mdps/LSB)
35 3: +/-250 dps (7.8125 mdps/LSB)
38 int "Output data rate"
42 Selects the output data rate
62 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXAS21002),int1-gpios) ||\
[all …]
/Zephyr-latest/boards/nordic/nrf9160dk/
Dnrf52840_reset.c4 * SPDX-License-Identifier: Apache-2.0
17 #define RESET_GPIO_CTRL DT_GPIO_CTLR(RESET_NODE, gpios)
18 #define RESET_GPIO_PIN DT_GPIO_PIN(RESET_NODE, gpios)
19 #define RESET_GPIO_FLAGS DT_GPIO_FLAGS(RESET_NODE, gpios)
28 return -EIO; in bt_hci_transport_setup()
39 * before running to main to ensure that it won't send any data until in bt_hci_transport_setup()
40 * the H4 device is setup and ready to receive. in bt_hci_transport_setup()
47 /* Wait for the nRF52840 peripheral to stop sending data. in bt_hci_transport_setup()
59 /* We are ready, let the nRF52840 run to main */ in bt_hci_transport_setup()
/Zephyr-latest/dts/bindings/bluetooth/
Dzephyr,bt-hci-spi.yaml1 # Copyright (c) 2018, I-SENSE group of ICCS
2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "zephyr,bt-hci-spi"
10 include: [spi-device.yaml, bt-hci.yaml]
13 irq-gpios:
14 type: phandle-array
17 reset-gpios:
18 type: phandle-array
21 reset-assert-duration-ms:
24 Minimum duration to hold the reset-gpios pin low for.
[all …]
/Zephyr-latest/samples/boards/st/h7_dual_core/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
20 static struct ipm_data data; variable
23 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
26 uint32_t id, volatile void *data) in new_message_callback() argument
30 gpio_pin_set(ipm_data->led->port, ipm_data->led->pin, (int)ipm_data->led_is_on); in new_message_callback()
32 ipm_data->led_is_on = !ipm_data->led_is_on; in new_message_callback()
42 printk("ipm device not ready\n"); in main()
47 printk("led0 device not ready\n"); in main()
53 data.led = &led0; in main()
54 data.led_is_on = false; in main()
[all …]
/Zephyr-latest/drivers/regulator/
Dregulator_gpio.c3 * SPDX-License-Identifier: Apache-2.0
19 const struct gpio_dt_spec *gpios; member
35 const struct regulator_gpio_config *cfg = dev->config; in regulator_gpio_apply_state()
37 for (unsigned int gpio_idx = 0; gpio_idx < cfg->num_gpios; gpio_idx++) { in regulator_gpio_apply_state()
41 ret = gpio_pin_get_dt(&cfg->gpios[gpio_idx]); in regulator_gpio_apply_state()
43 LOG_ERR("%s: can't get pin state", dev->name); in regulator_gpio_apply_state()
48 ret = gpio_pin_set_dt(&cfg->gpios[gpio_idx], new_state_of_gpio); in regulator_gpio_apply_state()
50 LOG_ERR("%s: can't set pin state", dev->name); in regulator_gpio_apply_state()
61 const struct regulator_gpio_config *cfg = dev->config; in regulator_gpio_enable()
64 if (cfg->enable.port == NULL) { in regulator_gpio_enable()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
12 Enable driver for BMC150 I2C-based magnetometer sensor.
59 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMC150_MAGN),drdy-gpios)
71 bool "Data ready trigger"
74 Enable data ready interrupt for BMC150 magnetometer
/Zephyr-latest/drivers/sensor/nxp/fxos8700/
DKconfig1 # FXOS8700 6-axis accelerometer/magnetometer
4 # SPDX-License-Identifier: Apache-2.0
16 accelerometers then the Accelerometer-only mode should be selected."
25 bool "Accelerometer-only mode"
28 bool "Magnetometer-only mode"
53 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXOS8700),int1-gpios) ||\
54 $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXOS8700),int2-gpios)
67 bool "Data ready interrupt to INT1 pin"
70 Say Y to route data ready interrupt to INT1 pin. Say N to route to
111 bool "Magnetic vector-magnitude detection"
[all …]
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
22 GPIO_DT_SPEC_GET(DT_ALIAS(qenca), gpios);
24 GPIO_DT_SPEC_GET(DT_ALIAS(qencb), gpios);
52 printk("%s: device not ready.", phase_a.port->name); in qenc_emulate_init()
58 printk("%s: device not ready.", phase_b.port->name); in qenc_emulate_init()
80 printk("Qdec device is not ready\n");
104 printk("Failed to get data (%d)\n", rc);
/Zephyr-latest/dts/bindings/serial/
Drenesas,smartbond-uart.yaml3 compatible: "renesas,smartbond-uart"
5 include: [uart-controller.yaml, pinctrl-device.yaml]
14 periph-clock-config:
19 current-speed:
24 - 4800
25 - 9600
26 - 14400
27 - 19200
28 - 28800
29 - 38400
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dadi,max22190-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
10 filter-wbes = <CH0 CH1 CH2 ... CH7 > for wire break
12 filter-fbps and filter-delays.
16 pinctrl-names = "default";
18 compatible = "adi,max22190-gpio";
21 spi-max-frequency = <1000000>;
24 gpio-controller;
25 #gpio-cells = <2>;
29 max22190-mode = <1>; // modes range from 0-4
31 drdy-gpios = <&gpioj 12 GPIO_ACTIVE_LOW>; /* SDP-GPIO5 - PMOD-PIN8 */
[all …]
/Zephyr-latest/dts/bindings/auxdisplay/
Dhit,hd44780.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [auxdisplay-device.yaml]
17 description: Operating mode of display, 8-bit or 4 for 4-bit mode
19 - 4
20 - 8
22 register-select-gpios:
23 type: phandle-array
27 read-write-gpios:
28 type: phandle-array
31 enable-gpios:
[all …]
/Zephyr-latest/dts/bindings/input/
Dcirque,pinnacle-common.yaml2 # SPDX-License-Identifier: Apache-2.0
7 data-ready-gpios:
8 type: phandle-array
10 Data Ready (DR) GPIO pin. The DR pin is connected to Pinnacle HW_DR
20 - "1x"
21 - "2x"
22 - "3x"
23 - "4x"
25 data-mode:
29 Data output mode in which position is reported. In the relative mode
[all …]
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
12 Enable driver for LSM9DS0 I2C-based gyroscope sensor.
19 prompt "Default full-scale"
22 Specify the default full-scale.
36 bool "Dynamic full-scale"
38 Enable alteration of full-scale attribute at runtime.
70 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM9DS0_GYRO),irq-gpios)
80 bool "Data ready trigger"

12345