/Zephyr-latest/dts/bindings/sensor/ |
D | hamamatsu,s11059.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 https://datasheetspdf.com/pdf/1323325/Hamamatsu/S11059-02DT/1 10 include: [sensor-device.yaml, i2c-device.yaml] 13 high-gain: 16 When present, the high gain is enabled. 17 The gain ratio is 10 times from low to high. 19 integration-time:
|
D | vishay,vcnl36825t.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 include: [sensor-device.yaml, i2c-device.yaml] 13 operation-mode: 19 - "auto": the sensor performs sampling continuously, 20 - "force": the sampling is performed on every fetch command. 24 Note: "force"-mode only available if low-power mode inactive. 26 measurement-period: 34 - [10, 80] ms only if low power mode is inactive 35 - [80, 320] ms only in low power mode 37 Defaults to 40 ms which is supported in both normal and low-power mode. [all …]
|
D | ti,fdc2x1x.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 sd-gpios: 12 type: phandle-array 14 The SD pin defaults to active high when consumed by the sensor. 18 intb-gpios: 19 type: phandle-array 28 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version) 33 Set the Auto-Scan Mode. 36 "active-channel" (single channel mode). [all …]
|
D | ams,tmd2620.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 int-gpios: 12 type: phandle-array 15 The interrupt pin of TMD2620 is open-drain, active low. 17 as pull-up, active low. 19 proximity-gain: 22 description: Proximity detection gain of the sensor 24 - 1 25 - 2 [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: 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 51 - 2 # TMAG5273_DT_AXIS_Y [all …]
|
/Zephyr-latest/dts/bindings/haptics/ |
D | ti,drv2605.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop 10 include: i2c-device.yaml 13 actuator-mode: 17 - "ERM" 18 - "LRA" 19 feedback-brake-factor: 22 - "1X" 23 - "2X" 24 - "3X" [all …]
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | veml7700.h | 5 * SPDX-License-Identifier: Apache-2.0 32 * @brief Bit mask to check for the high threshold interrupt flag. 40 * @brief VEML7700 gain options for ambient light measurements. 75 * For high and low threshold window settings (ALS_WH and ALS_WL) 77 * <tt>SENSOR_ATTR_LOWER_THRESH</tt> with 16-bit unsigned integer 80 * depends on the current gain and integration time settings. So a 81 * change in gain or integration time usually requires an update of 83 * into the sensor update the thresholds -after- a change of gain 90 * @brief Gain setting for ALS measurements (ALS_GAIN). 128 * sensors ALS register. It is useful for estimating the high/low [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | nxp,mcxc-osc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nxp,mcxc-osc" 8 include: fixed-clock.yaml 11 load-capacitance-picofarads: 14 - 0 15 - 2 16 - 4 17 - 6 18 - 8 19 - 10 [all …]
|
/Zephyr-latest/samples/drivers/haptics/drv2605/boards/ |
D | nucleo_f401re.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/i2c/i2c.h> 11 clock-frequency = <I2C_BITRATE_STANDARD>; 18 actuator-mode = "LRA"; 19 loop-gain = "HIGH"; 20 feedback-brake-factor = "2X";
|
/Zephyr-latest/samples/sensor/proximity_polling/boards/ |
D | nrf52840dk_nrf52840.overlay | 3 prox-sensor0 = &tmd2620; 13 int-gpios = <&gpio1 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 14 proximity-gain = <4>; 15 proximity-pulse-length = <16>; 16 proximity-pulse-count = <15>; 17 proximity-high-threshold = <255>; 18 proximity-low-threshold = <0>; 19 proximity-led-drive-strength = <4>; 20 proximity-interrupt-filter = <0>; 21 wait-time-factor = <0>;
|
/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | frdm_k64f.overlay | 2 * SPDX-License-Identifier: Apache-2.0 9 io-channels = <&adc0 14>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 clk-source = <0>; 17 hw-trigger-src = <4>; 18 continuous-convert; 19 high-speed; 20 periodic-trigger; 25 zephyr,gain = "ADC_GAIN_1"; [all …]
|
D | frdm_k82f.overlay | 2 * SPDX-License-Identifier: Apache-2.0 9 io-channels = <&adc0 15>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 clk-source = <0>; 17 hw-trigger-src = <4>; 18 continuous-convert; 19 high-speed; 20 periodic-trigger; 25 zephyr,gain = "ADC_GAIN_1"; [all …]
|
/Zephyr-latest/soc/nxp/kinetis/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 35 Set this option to use the oscillator in low-power mode. 38 bool "High gain oscillator" 40 Set this option to use the oscillator in high-gain mode. 94 Include the 16-byte flash configuration field that stores default
|
/Zephyr-latest/tests/subsys/usb/uac2/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <dt-bindings/usb/audio.h> 13 full-speed; 14 high-speed; 15 audio-function = <AUDIO_FUNCTION_HEADSET>; 18 compatible = "zephyr,uac2-clock-source"; 19 clock-type = "internal-programmable"; 20 frequency-control = "host-programmable"; 21 sampling-frequencies = <48000>; 25 compatible = "zephyr,uac2-input-terminal"; [all …]
|
/Zephyr-latest/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 1 /* ST Microelectronics IIS328DQ 3-axis accelerometer driver 6 * SPDX-License-Identifier: Apache-2.0 32 * iis328dq_set_odr - set new Full Scale (in ±g) 37 struct iis328dq_data *iis328dq = dev->data; in iis328dq_set_range() 38 const struct iis328dq_config *cfg = dev->config; in iis328dq_set_range() 39 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in iis328dq_set_range() 41 uint8_t gain; in iis328dq_set_range() local 45 gain = 1; in iis328dq_set_range() 48 gain = 2; in iis328dq_set_range() 51 gain = 4; in iis328dq_set_range() [all …]
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 5 * SPDX-License-Identifier: Apache-2.0 24 * Those two are used for the high and low threshold 30 * 16-bit command register addresses 41 * Devicetree psm-mode property value for "PSM disabled" 53 0x0C, /* 25 - 0b1100 */ 54 0x08, /* 50 - 0b1000 */ 55 0x00, /* 100 - 0b0000 */ 56 0x01, /* 200 - 0b0001 */ 57 0x02, /* 400 - 0b0010 */ 58 0x03, /* 800 - 0b0011 */ [all …]
|
/Zephyr-latest/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc.h | 1 /* ST Microelectronics IIS2DLPC 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 32 ((31 - __builtin_clz(_odr / 25))) + 3) 35 #define IIS2DLPC_FS_TO_REG(_fs) (30 - __builtin_clz(_fs)) 37 /* Acc Gain value in ug/LSB in High Perf mode */ 53 * struct iis2dlpc_dev_config - iis2dlpc hw configuration 91 uint16_t gain; member
|
D | iis2dlpc.c | 1 /* ST Microelectronics IIS2DLPC 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 29 * iis2dlpc_set_range - set full scale range for acc 36 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_set_range() 37 const struct iis2dlpc_config *cfg = dev->config; in iis2dlpc_set_range() 38 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in iis2dlpc_set_range() 43 if (cfg->pm == IIS2DLPC_CONT_LOW_PWR_12bit) { in iis2dlpc_set_range() 48 /* save internally gain for optimization */ in iis2dlpc_set_range() 49 iis2dlpc->gain = IIS2DLPC_FS_TO_GAIN(fs, shift_gain); in iis2dlpc_set_range() 56 * iis2dlpc_set_odr - set new sampling frequency [all …]
|
/Zephyr-latest/samples/subsys/usb_c/sink/boards/ |
D | numaker_m2l31ki.overlay | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 #include <dt-bindings/usb-c/pd.h> 7 usbc-port0 = &port0; 11 #address-cells = <1>; 12 #size-cells = <0>; 14 port0: usbc-port@0 { 15 compatible = "usb-c-connector"; 20 power-role = "sink"; 21 sink-pdos = <PDO_FIXED(5000, 100, 0)>; 30 digital-path-disable; [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads1x1x.c | 5 * SPDX-License-Identifier: Apache-2.0 85 /* +/-6.144V range = Gain 1/3 */ 87 /* +/-4.096V range = Gain 1/2 */ 89 /* +/-2.048V range = Gain 1 (default) */ 91 /* +/-1.024V range = Gain 2 */ 93 /* +/-0.512V range = Gain 4 */ 95 /* +/-0.256V range = Gain 8 */ 114 /* ALERT/RDY pin is high when active */ 119 /* Non-latching comparator (default) */ 132 /* Disable the comparator and put ALERT/RDY in high state (default) */ [all …]
|
D | adc_stm32wb0.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * - sampling: a single analog-to-digital conversion performed by the ADC 10 * - sequence: one or more sampling(s) performed one after the other by the 13 * - round: all ADC operations needed to read all channels in the adc_sequence passed 20 * - idle mode: clock & ADC configuration that minimizes power consumption 21 * - Only the ADC digital domain clock is turned on: 22 * - ADC is powered off (CTRL.ADC_CTRL_ADC_ON_OFF = 0) 23 * - ADC analog domain clock is turned off 24 * - If applicable: 25 * - ADC LDO is disabled [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2dw12/ |
D | lis2dw12.h | 1 /* ST Microelectronics LIS2DW12 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 33 ((31 - __builtin_clz(_odr / 25))) + 3) 41 (1 << (_reg - 3)) * 25) 44 #define LIS2DW12_FS_TO_REG(_fs) (30 - __builtin_clz(_fs)) 46 /* Acc Gain value in ug/LSB in High Perf mode */ 67 * struct lis2dw12_device_config - lis2dw12 hw configuration 121 uint16_t gain; member
|
D | lis2dw12.c | 1 /* ST Microelectronics LIS2DW12 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 30 * lis2dw12_set_range - set full scale range for acc 37 struct lis2dw12_data *lis2dw12 = dev->data; in lis2dw12_set_range() 38 const struct lis2dw12_device_config *cfg = dev->config; in lis2dw12_set_range() 39 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2dw12_set_range() 44 if (cfg->pm == LIS2DW12_CONT_LOW_PWR_12bit) { in lis2dw12_set_range() 49 /* save internally gain for optimization */ in lis2dw12_set_range() 50 lis2dw12->gain = in lis2dw12_set_range() 58 * lis2dw12_set_odr - set new sampling frequency [all …]
|
/Zephyr-latest/soc/microchip/mec/mec172x/reg/ |
D | mec172x_vbat.h | 4 * SPDX-License-Identifier: Apache-2.0 16 /* Offset 0x00 Power-Fail and Reset Status */ 50 /* disable XTAL high startup current */ 52 /* crystal amplifier gain control */ 77 * Monotonic Counter least significant word (32-bit), read-only. 82 /* Monotonic Counter most significant word (32-bit). Read-Write */
|
/Zephyr-latest/boards/st/stm32g081b_eval/ |
D | stm32g081b_eval.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/g0/stm32g081rbtx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "st,stm32g081-eval"; 18 zephyr,shell-uart = &usart3; 24 compatible = "gpio-leds"; 44 compatible = "gpio-keys"; 83 volt-sensor0 = &vref; 84 volt-sensor1 = &vbat; [all …]
|