Home
last modified time | relevance | path

Searched +full:bus +full:- +full:range (Results 1 – 25 of 196) sorted by relevance

12345678

/Zephyr-Core-3.5.0/dts/bindings/misc/
Dnxp,s32-emios.yaml2 # 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-Core-3.5.0/samples/sensor/ina219/
DREADME.rst9 This sample application measures shunt voltage, bus voltage, power and current
16 - `INA219 sensor <https://www.ti.com/product/INA219>`_
21 The supply voltage of the INA219 can be in the 3V to 5.5V range.
22 The common mode voltage of the measured bus can be in the 0V to 26V range.
27 .. zephyr-app-commands::
28 :zephyr-app: samples/sensor/ina219
34 When monitoring a 3.3 V bus with a 0.1 Ohm shunt resistor
37 .. code-block:: console
39 Shunt: 0.001570 [V] -- Bus: 3.224000 [V] -- Power: 0.504000 [W] -- Current: 0.157000 [A]
44 .. code-block:: console
[all …]
/Zephyr-Core-3.5.0/drivers/usb/uvb/
DKconfig4 # 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-Core-3.5.0/scripts/dts/python-devicetree/tests/
Dtest_edtlib.py2 # 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 …]
Dtest.dts4 * 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-Core-3.5.0/drivers/ethernet/
DKconfig.nxp_s32_gmac1 # Copyright 2022-2023 NXP
2 # SPDX-License-Identifier: Apache-2.0
18 range 4 128
26 range 64 1536
29 store one complete Ethernet frame, and be a multiple of the data bus
35 range 4 128
43 range 64 1536
46 store one complete Ethernet frame, and be a multiple of the data bus
53 This option specifies the zero-based index of the clock configuration
71 range 1 1024
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
DKconfig.it8xxx22 # SPDX-License-Identifier: Apache-2.0
20 the time between each byte to improve the I2C bus clock
22 The I2C controller supports two 32-bytes FIFOs,
45 reduce the time between each byte to improve the I2C bus
52 range 32 2048
64 range 4 2044
/Zephyr-Core-3.5.0/samples/sensor/isl29035/
DREADME.rst13 ISL29035 sensor every 10 seconds if it is within +/- 50 lux of the last
14 read sample. If the sensor detects an intensity outside that range the
15 application wakes, displays the intensity, resets the intensity range
22 overlay must be provided to connect the sensor to the I2C bus and
28 .. zephyr-app-commands::
29 :zephyr-app: samples/sensor/isl29035
37 .. code-block:: console
39 *** Booting Zephyr OS build zephyr-v2.1.0-335-gfe020d937d43 ***
40 ALERT 365 lux outside range centered on 0 lux.
44 ALERT 302 lux outside range centered on 365 lux.
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/bmg160/
DKconfig4 # 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.
67 prompt "Gyroscope range setting."
/Zephyr-Core-3.5.0/dts/bindings/sensor/
Dti,ina237.yaml4 # 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 …]
/Zephyr-Core-3.5.0/drivers/can/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
17 module-str = CAN
39 range 1 256
46 range 1 256
59 bool "CAN-FD"
61 Enable CAN-FD support. Not all CAN controllers support CAN-FD.
71 bool "Automatic recovery from bus-off"
74 This option enables the automatic bus-off recovery according to
75 ISO 11898-1 (recovery after 128 occurrences of 11 consecutive
85 the "-object can-host-socketcan" qemu command line option. The CAN interface must be
/Zephyr-Core-3.5.0/drivers/sensor/bmi270/
Dbmi270.c5 * 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-Core-3.5.0/drivers/sensor/bmi08x/
Dbmi08x_gyro.c5 * 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, &reg, 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-Core-3.5.0/drivers/sensor/bmi160/
Dbmi160.c5 * SPDX-License-Identifier: Apache-2.0
8 * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMI160-DS000-07.pdf
34 const struct bmi160_cfg *cfg = dev->config; in bmi160_transceive()
56 return spi_transceive_dt(&cfg->bus.spi, &tx, &rx); in bmi160_transceive()
59 return spi_write_dt(&cfg->bus.spi, &tx); in bmi160_transceive()
64 const struct bmi160_cfg *cfg = dev->config; in bmi160_bus_ready_spi()
66 return spi_is_ready_dt(&cfg->bus.spi); in bmi160_bus_ready_spi()
94 const struct bmi160_cfg *cfg = dev->config; in bmi160_bus_ready_i2c()
96 return device_is_ready(cfg->bus.i2c.bus); in bmi160_bus_ready_i2c()
102 const struct bmi160_cfg *cfg = dev->config; in bmi160_read_i2c()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/dt-bindings/sensor/
Dina237.h4 * 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-Core-3.5.0/dts/bindings/pcie/host/
Dpci-host-ecam-generic.yaml2 # 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:
/Zephyr-Core-3.5.0/drivers/sensor/bmi323/
Dbmi323.c4 * SPDX-License-Identifier: Apache-2.0
32 const struct bosch_bmi323_bus *bus; member
61 const struct bosch_bmi323_config *config = (const struct bosch_bmi323_config *)dev->config; in bosch_bmi323_bus_init()
63 const struct bosch_bmi323_bus *bus = config->bus; in bosch_bmi323_bus_init() local
65 return bus->api->init(bus->context); in bosch_bmi323_bus_init()
71 const struct bosch_bmi323_config *config = (const struct bosch_bmi323_config *)dev->config; in bosch_bmi323_bus_read_words()
73 const struct bosch_bmi323_bus *bus = config->bus; in bosch_bmi323_bus_read_words() local
75 return bus->api->read_words(bus->context, offset, words, words_count); in bosch_bmi323_bus_read_words()
81 const struct bosch_bmi323_config *config = (const struct bosch_bmi323_config *)dev->config; in bosch_bmi323_bus_write_words()
83 const struct bosch_bmi323_bus *bus = config->bus; in bosch_bmi323_bus_write_words() local
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/adxl362/
Dadxl362.c1 /* adxl362.c - ADXL362 Three-Axis Digital Accelerometers */
6 * SPDX-License-Identifier: Apache-2.0
29 const struct adxl362_config *cfg = dev->config; in adxl362_reg_access()
53 return spi_transceive_dt(&cfg->bus, &tx, &rx); in adxl362_reg_access()
58 return spi_write_dt(&cfg->bus, &tx); in adxl362_reg_access()
162 return -EINVAL; in adxl362_freq_to_odr_val()
173 return -EINVAL; in adxl362_freq_to_odr_val()
179 uint16_t range; member
187 static int32_t adxl362_range_to_reg_val(uint16_t range) in adxl362_range_to_reg_val() argument
192 if (range <= adxl362_acc_range_map[i].range) { in adxl362_range_to_reg_val()
[all …]
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_ads1x1x.c5 * SPDX-License-Identifier: Apache-2.0
74 /* +/-6.144V range = Gain 1/3 */
76 /* +/-4.096V range = Gain 1/2 */
78 /* +/-2.048V range = Gain 1 (default) */
80 /* +/-1.024V range = Gain 2 */
82 /* +/-0.512V range = Gain 4 */
84 /* +/-0.256V range = Gain 8 */
108 /* Non-latching comparator (default) */
126 struct i2c_dt_spec bus; member
148 const struct ads1x1x_config *config = dev->config; in ads1x1x_read_reg()
[all …]
/Zephyr-Core-3.5.0/dts/bindings/can/
Dmicrochip,mcp251xfd.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Microchip MCP251XFD SPI CAN-FD controller
7 The MCP251XFD node is defined on an SPI bus. An example
11 cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
17 spi-max-frequency = <18000000>;
18 int-gpios = <&mikrobus_header 7 GPIO_ACTIVE_LOW>;
20 osc-freq = <40000000>;
22 bus-speed = <125000>;
23 sample-point = <875>;
24 bus-speed-data = <1000000>;
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/lis2ds12/
Dlis2ds12.c1 /* ST Microelectronics LIS2DS12 3-axis accelerometer driver
5 * SPDX-License-Identifier: Apache-2.0
28 const struct lis2ds12_config *cfg = dev->config; in lis2ds12_set_odr()
29 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2ds12_set_odr()
34 LOG_DBG("%s: set power-down", dev->name); in lis2ds12_set_odr()
43 if ((odr >= 9 && cfg->pm != 3) || (odr < 9 && cfg->pm == 3) || in lis2ds12_set_odr()
44 (odr == 1 && cfg->pm != 1)) { in lis2ds12_set_odr()
45 LOG_ERR("%s: bad odr and pm combination", dev->name); in lis2ds12_set_odr()
46 return -ENOTSUP; in lis2ds12_set_odr()
54 val = (cfg->pm == 1) ? LIS2DS12_XL_ODR_12Hz5_LP : in lis2ds12_set_odr()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/sgp40/
Dsgp40.h4 * SPDX-License-Identifier: Apache-2.0
31 * Value range of compensation data parameters
35 #define SGP40_COMP_MIN_T -45
41 struct i2c_dt_spec bus; member
/Zephyr-Core-3.5.0/drivers/sensor/mpu6050/
Dmpu6050.c4 * SPDX-License-Identifier: Apache-2.0
26 val->val1 = conv_val / 1000000; in mpu6050_convert_accel()
27 val->val2 = conv_val % 1000000; in mpu6050_convert_accel()
38 val->val1 = conv_val / 1000000; in mpu6050_convert_gyro()
39 val->val2 = conv_val % 1000000; in mpu6050_convert_gyro()
46 val->val1 = raw_val / 340 + 36; in mpu6050_convert_temp()
47 val->val2 = ((int64_t)(raw_val % 340) * 1000000) / 340 + 530000; in mpu6050_convert_temp()
49 if (val->val2 < 0) { in mpu6050_convert_temp()
50 val->val1--; in mpu6050_convert_temp()
51 val->val2 += 1000000; in mpu6050_convert_temp()
[all …]
/Zephyr-Core-3.5.0/drivers/dac/
Ddac_ltc166x.c6 * SPDX-License-Identifier: Apache-2.0
21 struct spi_dt_spec bus; member
29 const struct ltc166x_config *config = dev->config; in ltc166x_reg_write()
34 if (config->resolution == 10) { in ltc166x_reg_write()
50 return spi_write_dt(&config->bus, &tx); in ltc166x_reg_write()
57 const struct ltc166x_config *config = dev->config; in ltc166x_channel_setup()
59 if (channel_cfg->channel_id > config->nchannels - 1) { in ltc166x_channel_setup()
60 LOG_ERR("Unsupported channel %d", channel_cfg->channel_id); in ltc166x_channel_setup()
61 return -ENOTSUP; in ltc166x_channel_setup()
64 if (channel_cfg->resolution != config->resolution) { in ltc166x_channel_setup()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/lis2dw12/
Dlis2dw12.c1 /* ST Microelectronics LIS2DW12 3-axis accelerometer driver
5 * SPDX-License-Identifier: Apache-2.0
31 * lis2dw12_set_range - set full scale range for acc
33 * @range: Full scale range (2, 4, 8 and 16 G)
38 struct lis2dw12_data *lis2dw12 = dev->data; in lis2dw12_set_range()
39 const struct lis2dw12_device_config *cfg = dev->config; in lis2dw12_set_range()
40 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2dw12_set_range()
45 if (cfg->pm == LIS2DW12_CONT_LOW_PWR_12bit) { in lis2dw12_set_range()
51 lis2dw12->gain = in lis2dw12_set_range()
59 * lis2dw12_set_odr - set new sampling frequency
[all …]

12345678