/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | icm42670.h | 4 * SPDX-License-Identifier: Apache-2.0 14 * @brief Extended public API for ICM42670 6-axis MEMS sensor 20 /** ICM42670 power mode */ 25 * @brief Extended sensor attributes for ICM42670 6-axis MEMS sensor 31 * Low-Noise Mode and Low-Power Mode options are available for the 32 * accelerometer. Only Low-Noise Mode is available for gyroscope. 33 * In Low-Noise Mode, the ADC output is sent through an Anti-Alias Filter 37 * In Low-Power Mode, the accelerometer ADC output is sent through an Average 38 * filter, with user configurable average filter setting. 39 * The output of 1st Order LPF in Low-Noise Mode, or Average filter in Low-Power [all …]
|
/Zephyr-latest/dts/bindings/adc/ |
D | renesas,ra-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "renesas,ra-adc" 8 include: [adc-controller.yaml, pinctrl-device.yaml] 14 vref-mv: 19 channel-count: 24 "#io-channel-cells": 27 channel-available-mask: 32 average-count: 36 description: The conversion count of the average mode 40 io-channel-cells: [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | lps2xdf.h | 5 * SPDX-License-Identifier: Apache-2.0 26 /* Average (number of samples) filter */ 36 /* Full Scale Pressure Mode */ 40 /* Full Scale Pressure Mode */
|
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/ |
D | README.rst | 1 .. zephyr:code-sample:: uac2-explicit-feedback 3 :relevant-api: usbd_api uac2_device i2s_interface 14 The device running this sample presents itself to the host as a Full-Speed 15 Asynchronous USB Audio 2 class device supporting 48 kHz 16-bit 2-channel 26 host, the device can tell host how many samples on average it needs every frame. 27 The host achieves the average by sending either nominal or nominal ±1 sample 30 The dummy feedback implementation, used when there is no target-specific 49 input pin (hardcoded to P1.09) on :ref:`nrf5340dk_nrf5340`. In the indirect mode 60 .. zephyr-app-commands:: 61 :zephyr-app: samples/subsys/usb/uac2_explicit_feedback
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lps22df-common.yaml | 3 # 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 32 drdy-pulsed: 35 Selects the pulsed mode for data-ready interrupt when enabled, 36 and the latched mode when disabled. 43 The default is the power-on reset value. 45 - 0 # LPS2xDF_DT_ODR_POWER_DOWN [all …]
|
D | ti,ina230.yaml | 5 # SPDX-License-Identifier: Apache-2.0 10 The <zephyr/dt-bindings/sensor/ina230.h> file should be included in the 16 include: ti,ina23x-common.yaml 26 times, ADC and averaging, and ADC operating mode. 28 alert-config: 30 description: Diag alert register, default matches the power-on reset value 32 adc-mode: 36 Default is the power-on reset value. 39 - "Shutdown single shot" 40 - "Shunt Voltage single shot" [all …]
|
D | ti,ina237.yaml | 4 # SPDX-License-Identifier: Apache-2.0 9 The <zephyr/dt-bindings/sensor/ina237.h> file should be included in the 15 include: ti,ina23x-common.yaml 25 times and averaging, operating mode for INA230 or 31 adc-config: 37 averaging, operating mode and etc). 41 alert-config: 43 description: Diag alert register, default matches the power-on reset value 45 adc-mode: 49 Default is the power-on reset value. [all …]
|
D | ti,ina226.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 The <zephyr/dt-bindings/sensor/ina226.h> file should be included in the 12 include: [sensor-device.yaml, i2c-device.yaml] 15 avg-count: 18 Number of samples to average (applies to all inputs). 19 Default is the power-on reset value. 23 vbus-conversion-time-us: 27 Default is the power-on reset value. 31 vshunt-conversion-time-us: 35 Default is the power-on reset value. [all …]
|
D | st,ilps22qs-common.yaml | 1 # Copyright (c) 2023-2024 STMicroelectronics 3 # SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/sensor/ilps22qs.h> 20 include: sensor-device.yaml 28 The default is the power-on reset value. 30 - 0 # LPS2xDF_DT_ODR_POWER_DOWN 31 - 1 # LPS2xDF_DT_ODR_1HZ 32 - 2 # LPS2xDF_DT_ODR_4HZ 33 - 3 # LPS2xDF_DT_ODR_10HZ 34 - 4 # LPS2xDF_DT_ODR_25HZ [all …]
|
D | ti,tmag5273.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface. 17 #include <zephyr/dt-bindings/sensor/tmag5273.h> 27 include: [sensor-device.yaml, i2c-device.yaml] 30 operation-mode: 35 Sensor mode used if set to "active". 38 - 0 # TMAG5273_DT_OPER_MODE_CONTINUOUS (continuous) 39 - 1 # TMAG5273_DT_OPER_MODE_STANDBY (standby) 49 - 0 # TMAG5273_DT_AXIS_NONE 50 - 1 # TMAG5273_DT_AXIS_X [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_mcxa156.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-m33f"; 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
D | nxp_lpc55S6x_common.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h> 14 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 15 #include <arm/armv8-m.dtsi> 16 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 24 zephyr,flash-controller = &iap; [all …]
|
D | nxp_mcxn23x_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 9 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include <arm/armv8-m.dtsi> 12 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-m33f"; 22 #address-cells = <1>; [all …]
|
D | nxp_rt5xx_common.dtsi | 2 * Copyright 2022-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h> 14 #include <zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h> 15 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> [all …]
|
/Zephyr-latest/doc/kernel/services/other/ |
D | float.rst | 11 based on ARM Cortex-M SoCs supporting the Floating Point Extension, 30 No FP registers mode 33 This mode is used when the application has no threads that use floating point 34 registers. It is the kernel's default floating point services mode. 39 Unshared FP registers mode 42 This mode is used when the application has only a single thread 46 be used by any thread (initialization in skipped on ARM Cortex-M platforms and 55 Shared FP registers mode 58 This mode is used when the application has two or more threads that use 60 the kernel supports one or more of the following thread sub-classes: [all …]
|
/Zephyr-latest/drivers/sensor/ |
D | Kconfig | 5 # SPDX-License-Identifier: Apache-2.0 15 module-str = sensor 55 sensors in either one-shot or streaming mode. Use this config to control 67 int "Timeout for printing the average sensor sample value" 87 # zephyr-keep-sorted-start 115 # zephyr-keep-sorted-stop
|
/Zephyr-latest/subsys/net/ip/ |
D | Kconfig | 6 # SPDX-License-Identifier: Apache-2.0 61 module-dep = NET_LOG 62 module-str = Log level for PMTU 63 module-help = Enables PMTU to output debug messages. 80 Enables TCP/IP stack to be offload to a co-processor. 92 module-dep = NET_LOG 93 module-str = Log level for offload layer 94 module-help = Enables offload layer to output debug messages. 136 Connect to host system via Qemu's built-in User Networking support. This 149 information etc. This string is appended to the QEMU "-net user" option. [all …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | app.overlay | 4 * 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/tests/subsys/logging/log_benchmark/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 54 struct backend_cb *cb = (struct backend_cb *)backend->cb->ctx; in panic() 56 cb->panic = true; in panic() 61 struct backend_cb *cb = (struct backend_cb *)backend->cb->ctx; in dropped() 63 cb->total_drops += cnt; in dropped() 92 _cnt--; \ 100 /** Test how many messages fits in the logging buffer in deferred mode. Test 129 cyc = test_helpers_cycle_get() - cyc; \ 174 cyc = test_helpers_cycle_get() - cyc; \ 200 PRINT("Average overwrite logging a message: %u cycles (%u us)\n", in ZTEST() [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2mdl/ |
D | lis2mdl.c | 1 /* ST Microelectronics LIS2MDL 3-axis magnetometer sensor 3 * Copyright (c) 2018-2019 STMicroelectronics 5 * SPDX-License-Identifier: Apache-2.0 21 /* Based on the data sheet, the maximum turn-on time is ("9.4 ms + 1/ODR") when 22 * offset cancellation is on. But in the single mode the ODR is not dependent on 37 const struct lis2mdl_config *cfg = dev->config; in lis2mdl_set_odr() 38 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2mdl_set_odr() 41 switch (val->val1) { in lis2mdl_set_odr() 55 return -EINVAL; in lis2mdl_set_odr() 59 return -EIO; in lis2mdl_set_odr() [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | fuel_gauge.h | 5 * SPDX-License-Identifier: Apache-2.0 34 * Provide a 1 minute average of the current on the battery. 37 * how the average is calculated. Units in uA negative=discharging 41 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */ 45 /** Whether the battery underlying the fuel-gauge is cut off from charge */ 65 /** Absolute state of charge (percent, 0-100) - expressed as % of design capacity */ 67 /** Relative state of charge (percent, 0-100) - expressed as % of full charge capacity */ 73 /** Battery Mode (flags) */ 107 * Reserved to demark downstream custom properties - use this value as the actual value may 241 * Note: Historically this API allowed drivers to implement a custom multi-get/set property [all …]
|
/Zephyr-latest/drivers/sensor/ti/bq274xx/ |
D | bq274xx.c | 4 * SPDX-License-Identifier: Apache-2.0 7 * - BQ27441 8 * Datasheet: https://www.ti.com/lit/gpn/bq27441-g1 10 * - BQ27421 11 * Datasheet: https://www.ti.com/lit/gpn/bq27421-g1 13 * - BQ27427 43 /* Time to set pin in order to exit shutdown mode */ 47 * defined as 250ms typical in the datasheet (Power-up communication delay). 54 /* Config update mode flag */ 85 const struct bq274xx_config *config = dev->config; in bq274xx_cmd_reg_read() [all …]
|
/Zephyr-latest/samples/bluetooth/channel_sounding/src/ |
D | distance_estimation.c | 4 * SPDX-License-Identifier: Apache-2.0 46 *z_out_real = z_a_real * z_b_real - z_a_imag * z_b_imag; in calc_complex_product() 62 y_mean += (y_values[i] - y_mean) / (i + 1); in linear_regression() 63 x_mean += (x_values[i] - x_mean) / (i + 1); in linear_regression() 70 b_est_upper += (x_values[i] - x_mean) * (y_values[i] - y_mean); in linear_regression() 71 b_est_lower += (x_values[i] - x_mean) * (x_values[i] - x_mean); in linear_regression() 82 for (uint16_t i = 0; i < len - 1; i++) { in bubblesort_2() 84 for (uint16_t j = 0; j < len - i - 1; j++) { in bubblesort_2() 129 /* One-dimensional phase unwrapping */ in estimate_distance_using_phase_slope() 131 float difference = theta[i] - theta[i - 1]; in estimate_distance_using_phase_slope() [all …]
|
/Zephyr-latest/boards/st/stm32f429i_disc1/ |
D | stm32f429i_disc1.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f4/stm32f429zitx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/display/ili9xxx.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 20 zephyr,shell-uart = &usart1; 29 compatible = "zephyr,memory-region", "mmio-sram"; 32 zephyr,memory-region = "SDRAM2"; 36 compatible = "gpio-leds"; 48 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 120 # Hidden, Controller's Co-Operative high priority Rx thread stack size. 125 # Hidden, Controller's Co-Operative Rx thread stack size. 152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers 167 to Extended Advertising mode, and restore it when switching back to 168 Legacy Non-Directed Advertising mode. 180 zero-based numbering. When using with Zephyr host this option can be 233 module-str = "Bluetooth Controller ISO-AL" 237 bool "ISO-AL verbose debug logging" [all …]
|