Home
last modified time | relevance | path

Searched +full:drdy +full:- +full:pulsed (Results 1 – 13 of 13) sorted by relevance

/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/dts/bindings/sensor/
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
30 int2-gpios:
31 type: phandle-array
[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
32 drdy-pulsed:
35 Selects the pulsed mode for data-ready interrupt when enabled,
43 The default is the power-on reset value.
45 - 0 # LPS2xDF_DT_ODR_POWER_DOWN
[all …]
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,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 …]
Dst,lis2dw12-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>;
15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>;
16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>;
17 power-mode = <LIS2DW12_DT_HP_MODE>;
18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>;
21 include: sensor-device.yaml
24 irq-gpios:
25 type: phandle-array
[all …]
Dst,lsm6dsv16x-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/lsm6dsv16x.h>
15 accel-range = <LSM6DSV16X_DT_FS_8G>;
16 accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
17 gyro-range = <LSM6DSV16X_DT_FS_4000DPS>;
18 gyro-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
21 include: sensor-device.yaml
24 int1-gpios:
25 type: phandle-array
[all …]
/Zephyr-latest/drivers/sensor/st/lis2dux12/
Dlis2dux12_api.c6 * SPDX-License-Identifier: Apache-2.0
17 struct lis2dux12_data *data = dev->data; in st_lis2dux12_set_odr_raw()
18 const struct lis2dux12_config *cfg = dev->config; in st_lis2dux12_set_odr_raw()
19 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2dux12_set_odr_raw()
20 lis2dux12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2dux12_set_odr_raw()
22 data->odr = odr; in st_lis2dux12_set_odr_raw()
29 struct lis2dux12_data *data = dev->data; in st_lis2dux12_set_range()
30 const struct lis2dux12_config *cfg = dev->config; in st_lis2dux12_set_range()
31 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2dux12_set_range()
32 lis2dux12_md_t val = { .odr = data->odr, .fs = range }; in st_lis2dux12_set_range()
[all …]
Dlis2duxs12_api.c6 * SPDX-License-Identifier: Apache-2.0
17 struct lis2dux12_data *data = dev->data; in st_lis2duxs12_set_odr_raw()
18 const struct lis2dux12_config *cfg = dev->config; in st_lis2duxs12_set_odr_raw()
19 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2duxs12_set_odr_raw()
20 lis2duxs12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2duxs12_set_odr_raw()
22 data->odr = odr; in st_lis2duxs12_set_odr_raw()
29 struct lis2dux12_data *data = dev->data; in st_lis2duxs12_set_range()
30 const struct lis2dux12_config *cfg = dev->config; in st_lis2duxs12_set_range()
31 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2duxs12_set_range()
32 lis2duxs12_md_t val = { .odr = data->odr, .fs = range }; in st_lis2duxs12_set_range()
[all …]
/Zephyr-latest/drivers/sensor/st/lis2ds12/
Dlis2ds12_trigger.c1 /* ST Microelectronics LIS2DS12 3-axis accelerometer driver
5 * SPDX-License-Identifier: Apache-2.0
23 const struct lis2ds12_config *cfg = data->dev->config; in lis2ds12_gpio_callback()
28 ret = gpio_pin_interrupt_configure_dt(&cfg->gpio_int, GPIO_INT_DISABLE); in lis2ds12_gpio_callback()
30 LOG_ERR("%s: Not able to configure pin_int", dev->name); in lis2ds12_gpio_callback()
34 k_sem_give(&data->trig_sem); in lis2ds12_gpio_callback()
36 k_work_submit(&data->work); in lis2ds12_gpio_callback()
42 struct lis2ds12_data *data = dev->data; in lis2ds12_handle_drdy_int()
44 if (data->data_ready_handler != NULL) { in lis2ds12_handle_drdy_int()
45 data->data_ready_handler(dev, data->data_ready_trigger); in lis2ds12_handle_drdy_int()
[all …]
/Zephyr-latest/drivers/sensor/st/lps2xdf/
Dlps2xdf_trigger.c6 * SPDX-License-Identifier: Apache-2.0
32 const struct lps2xdf_config *const cfg = dev->config; in lps2xdf_config_int()
33 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_config_int()
35 return chip_api->config_interrupt(dev); in lps2xdf_config_int()
42 const struct lps2xdf_config *const cfg = dev->config; in lps2xdf_trigger_set()
43 const struct lps2xdf_chip_api *chip_api = cfg->chip_api; in lps2xdf_trigger_set()
45 return chip_api->trigger_set(dev, trig, handler); in lps2xdf_trigger_set()
51 k_sem_give(&lps2xdf->intr_sem); in lps2xdf_intr_callback()
53 k_work_submit(&lps2xdf->work); in lps2xdf_intr_callback()
64 const struct lps2xdf_config *cfg = lps2xdf->dev->config; in lps2xdf_gpio_callback()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]