/Zephyr-latest/include/zephyr/dt-bindings/clock/ |
D | stm32_common_clocks.h | 4 * SPDX-License-Identifier: Apache-2.0 21 #define STM32_CLOCK_DIV(div) (((div) - 1) << STM32_CLOCK_DIV_SHIFT) 41 * @note 'reg' range: 0x0~0xFFFF [ 00 : 15 ] 42 * @note 'shift' range: 0~63 [ 16 : 21 ] 43 * @note 'mask' range: 0x00~0x1F [ 22 : 26 ] 44 * @note 'val' range: 0x00~0x1F [ 27 : 31 ] 54 * Pack RCC clock register offset and bit in two 32-bit values 57 * @param bus STM32 bus name (expands to STM32_CLOCK_BUS_{bus}) 60 #define STM32_CLOCK(bus, bit) (STM32_CLOCK_BUS_##bus) (1 << bit) argument
|
D | stm32wb0_clock.h | 4 * SPDX-License-Identifier: Apache-2.0 9 /** Define system & low-speed clocks */ 13 * - CLKSLOWMUX: used to query slow clock tree frequency 14 * - CLK16MHZ: secondary clock for LPUART, SPI3/I2S and BLE 15 * - CLK32MHZ: secondary clock for SPI3/I2S and BLE 21 /** Bus clocks */ 47 * @note 'reg' range: 0x0~0xFFFF [ 00 : 15 ] 48 * @note 'shift' range: 0~63 [ 16 : 21 ] 49 * @note 'mask' range: 0x00~0x1F [ 22 : 26 ] 50 * @note 'val' range: 0x00~0x1F [ 27 : 31 ]
|
/Zephyr-latest/drivers/can/ |
D | Kconfig.xmc4xxx | 3 # SPDX-License-Identifier: Apache-2.0 18 range 1 32 26 range 1 32 32 bool "Internal bus mode" 35 Connects all XMC4XXX CAN devices to an internal bus. Enables 41 range 1 32
|
/Zephyr-latest/samples/sensor/ina219/ |
D | README.rst | 1 .. zephyr:code-sample:: ina219 3 :relevant-api: sensor_interface 5 Get shunt voltage, bus voltage, power and current from an INA219 sensor. 10 This sample application measures shunt voltage, bus voltage, power and current 17 - `INA219 sensor <https://www.ti.com/product/INA219>`_ 22 The supply voltage of the INA219 can be in the 3V to 5.5V range. 23 The common mode voltage of the measured bus can be in the 0V to 26V range. 28 .. zephyr-app-commands:: 29 :zephyr-app: samples/sensor/ina219 35 When monitoring a 3.3 V bus with a 0.1 Ohm shunt resistor [all …]
|
/Zephyr-latest/dts/bindings/misc/ |
D | nxp,s32-emios.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 as a reference timebase (master bus) for other channels. 10 compatible: "nxp,s32-emios" 21 interrupt-names: 27 clock-divider: 31 Clock divider value for the global prescaler. Could be in range [1 ... 256] 33 internal-cnt: 39 child-binding: 40 child-binding: 42 Node for eMIOS master bus. Each channel is capable to become a master bus has [all …]
|
/Zephyr-latest/drivers/usb/uvb/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 9 prompt "USB virtual bus" 11 USB virtual bus service intended for use by virtual UDC 18 range 4 256 24 module-str = USB virtual bus service
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.nxp_s32_gmac | 1 # Copyright 2022-2023 NXP 2 # SPDX-License-Identifier: Apache-2.0 19 range 4 128 27 range 64 1536 30 store one complete Ethernet frame, and be a multiple of the data bus 36 range 4 128 44 range 64 1536 47 store one complete Ethernet frame, and be a multiple of the data bus 54 This option specifies the zero-based index of the clock configuration 72 range 1 1024 [all …]
|
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3.h | 4 * SPDX-License-Identifier: Apache-2.0 26 typedef int (*mmc56x3_bus_check_fn)(const union mmc56x3_bus *bus); 27 typedef int (*mmc56x3_reg_read_fn)(const union mmc56x3_bus *bus, uint8_t start, uint8_t *buf, 29 typedef int (*mmc56x3_reg_write_fn)(const union mmc56x3_bus *bus, uint8_t reg, uint8_t val); 30 typedef int (*mmc56x3_raw_read_fn)(const union mmc56x3_bus *bus, uint8_t *buf, size_t size); 31 typedef int (*mmc56x3_raw_write_fn)(const union mmc56x3_bus *bus, uint8_t *buf, size_t size); 66 /* Range is -30 to 30, sensitivity of raw 20-bit reading is 68 * Q5.26 with range -32 to 32, 75 /* To convert reading to Q7.24 with range -128, 128, 82 #define MMC56X3_TEMP_BASE -75 [all …]
|
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_edtlib.py | 2 # SPDX-License-Identifier: BSD-3-Clause 23 # test.dts is the main test file. test-bindings/ and test-bindings-2/ has 46 with from_here(): edtlib.EDT("test.dts", ["test-bindings"]) 48 enums_hpath = hpath('test-bindings/enums.yaml') 50 … marked as deprecated in 'properties:' in {hpath('test-bindings/deprecated.yaml')} for node /test-… 51 "unit address and first address in 'reg' (0x1) don't match for /reg-zero-size-cells/node", 52 "unit address and first address in 'reg' (0x5) don't match for /reg-ranges/parent/node", 53 …"unit address and first address in 'reg' (0x30000000200000001) don't match for /reg-nested-ranges/… 54 …f"compatible 'enums' in binding '{enums_hpath}' has non-tokenizable enum for property 'string-enum… 55 …f"compatible 'enums' in binding '{enums_hpath}' has enum for property 'tokenizable-lower-enum' tha… [all …]
|
D | test.dts | 4 * SPDX-License-Identifier: BSD-3-Clause 9 /dts-v1/; 16 interrupt-parent-test { 18 compatible = "interrupt-three-cell"; 19 #interrupt-cells = <3>; 20 interrupt-controller; 24 interrupt-names = "foo", "bar"; 25 interrupt-parent = <&{/interrupt-parent-test/controller}>; 28 interrupts-extended-test { 29 controller-0 { [all …]
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | Kconfig.eswifi | 1 # es-WiFi driver options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Inventek eS-WiFi support" 20 bool "Select BUS interface" 24 bool "SPI Bus interface" 28 bool "UART Bus interface" 37 range 500 4000
|
/Zephyr-latest/drivers/i2c/ |
D | Kconfig.it8xxx2 | 2 # SPDX-License-Identifier: Apache-2.0 21 the time between each byte to improve the I2C bus clock 23 The I2C controller supports two 32-bytes FIFOs, 47 reduce the time between each byte to improve the I2C bus 54 range 32 2048 66 range 4 2044
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "renesas,smartbond-nor-psram" 14 is-ram: 19 dev-size: 25 dev-type: 31 dev-density: 40 dev-id: 46 reset-delay-us: 52 read-cs-idle-min-ns: 59 erase-cs-idle-min-ns: [all …]
|
/Zephyr-latest/dts/bindings/i3c/ |
D | nuvoton,npcx-i3c.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 clock-frequency = <DT_FREQ_M(90)>; /* OFMCLK runs at 90MHz */ 12 core-prescaler = <3>; /* CORE_CLK runs at 30MHz */ 13 apb1-prescaler = <6>; /* APB1_CLK runs at 15MHz */ 14 apb2-prescaler = <6>; /* APB2_CLK runs at 15MHz */ 15 apb3-prescaler = <6>; /* APB3_CLK runs at 15MHz */ 16 apb4-prescaler = <3>; /* APB4_CLK runs at 30MHz */ 30 i3c-scl-hz = <12500000>; 31 i3c-od-scl-hz = <4170000>; 36 compatible: "nuvoton,npcx-i3c" [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12.c | 1 /* ST Microelectronics LIS2DUX12 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 52 const struct lis2dux12_config *cfg = dev->config; in lis2dux12_freq_to_odr_val() 55 size_t i = (cfg->pm != LIS2DUX12_OPER_MODE_LOW_POWER) ? LIS2DUX12_DT_ODR_6Hz in lis2dux12_freq_to_odr_val() 57 size_t len = (cfg->pm != LIS2DUX12_OPER_MODE_LOW_POWER) ? LIS2DUX12_DT_ODR_END in lis2dux12_freq_to_odr_val() 67 return -EINVAL; in lis2dux12_freq_to_odr_val() 73 uint8_t range; in lis2dux12_set_fs() local 74 const struct lis2dux12_config *const cfg = dev->config; in lis2dux12_set_fs() 75 const struct lis2dux12_chip_api *chip_api = cfg->chip_api; in lis2dux12_set_fs() 79 range = LIS2DUX12_DT_FS_2G; in lis2dux12_set_fs() [all …]
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_max20335.c | 3 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/regulator/max20335.h> 56 struct i2c_dt_spec bus; member 61 struct i2c_dt_spec bus; member 121 const struct regulator_max20335_config *config = dev->config; in regulator_max20335_set_enable() 123 return i2c_reg_update_byte_dt(&config->bus, in regulator_max20335_set_enable() 124 config->desc->cfg_reg, in regulator_max20335_set_enable() 125 config->desc->enable_mask, in regulator_max20335_set_enable() 126 enable ? config->desc->enable_val : 0); in regulator_max20335_set_enable() 141 const struct regulator_max20335_config *config = dev->config; in regulator_max20335_set_mode() [all …]
|
/Zephyr-latest/samples/sensor/isl29035/ |
D | README.rst | 1 .. zephyr:code-sample:: isl29035 3 :relevant-api: sensor_interface 14 ISL29035 sensor every 10 seconds if it is within +/- 50 lux of the last 15 read sample. If the sensor detects an intensity outside that range the 16 application wakes, displays the intensity, resets the intensity range 23 overlay must be provided to connect the sensor to the I2C bus and 29 .. zephyr-app-commands:: 30 :zephyr-app: samples/sensor/isl29035 38 .. code-block:: console 40 *** Booting Zephyr OS build zephyr-v2.1.0-335-gfe020d937d43 *** [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lsm9ds1.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor 6 accessed through I2C bus. 10 When setting the accel-range, gyro-range, imu-odr properties in 15 #include <zephyr/dt-bindings/sensor/lsm9ds1.h> 20 accel-range = <LSM9DS1_DT_FS_4G>; 21 imu-odr = <LSM9DS1_IMU_14Hz9>; 22 gyro-range = <LSM9DS1_DT_FS_2000DPS>; 27 include: [sensor-device.yaml, i2c-device.yaml] 30 accel-range: [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 24 e.g shunt voltage and bus voltage ADC conversion 26 delay for initial ADC conversion, shunt full scale range 31 adc-config: 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: 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. 39 operating-mode: [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bmg160/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 17 prompt "BMG160 I2C bus speed" 23 Standard bus speed of up to 100kHz. 28 Fast bus speed of up to 400KHz. 43 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMG160),int-gpios) 49 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_BOSCH_BMG160),int-gpios) 71 prompt "Gyroscope range setting."
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270.c | 5 * SPDX-License-Identifier: Apache-2.0 29 const struct bmi270_config *cfg = dev->config; in bmi270_bus_check() 31 return cfg->bus_io->check(&cfg->bus); in bmi270_bus_check() 36 const struct bmi270_config *cfg = dev->config; in bmi270_bus_init() 38 return cfg->bus_io->init(&cfg->bus); in bmi270_bus_init() 43 const struct bmi270_config *cfg = dev->config; in bmi270_reg_read() 45 return cfg->bus_io->read(&cfg->bus, reg, data, length); in bmi270_reg_read() 51 const struct bmi270_config *cfg = dev->config; in bmi270_reg_write() 53 return cfg->bus_io->write(&cfg->bus, reg, data, length); in bmi270_reg_write() 72 uint8_t range) in channel_accel_convert() argument [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_gyro.c | 5 * SPDX-License-Identifier: Apache-2.0 26 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_i2c() 29 return i2c_write_read_dt(&bmi08x->bus.i2c, ®, 1, data, length); in bmi08x_gyro_transceive_i2c() 32 return -EINVAL; in bmi08x_gyro_transceive_i2c() 38 return i2c_write_dt(&bmi08x->bus.i2c, buf, 1 + length); in bmi08x_gyro_transceive_i2c() 41 static int bmi08x_bus_check_i2c(const union bmi08x_bus *bus) in bmi08x_bus_check_i2c() argument 43 return i2c_is_ready_dt(&bus->i2c) ? 0 : -ENODEV; in bmi08x_bus_check_i2c() 58 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_spi() 68 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_gyro_transceive_spi() 71 return spi_write_dt(&bmi08x->bus.spi, &tx); in bmi08x_gyro_transceive_spi() [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | ina237.h | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/dt-util.h> 29 /* Conversion time for bus, shunt and temp in micro-seconds */ 58 /* Shunt full scale range selection across IN+ and IN–. */ 67 * @param adc_range Shunt full scale range selection across IN+ and IN–. 80 * @param vbusct Conversion time for bus voltage.
|
/Zephyr-latest/dts/bindings/pcie/host/ |
D | pci-host-ecam-generic.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "pci-host-ecam-generic" 8 include: pcie-controller.yaml 14 msi-parent: 21 As described in IEEE Std 1275-1994, but must provide at least a 22 definition of non-prefetchable memory. One or both of prefetchable Memory 25 interrupt-map-mask: 28 interrupt-map: 31 bus-range:
|