Home
last modified time | relevance | path

Searched refs:voltage (Results 1 – 25 of 251) sorted by relevance

1234567891011

/Zephyr-latest/tests/drivers/sensor/adltc2990/boards/
Dnative_sim.overlay13 pin-v1-voltage-divider-resistors = <500 1000>;
14 pin-v2-voltage-divider-resistors = <110000 100000>;
15 pin-v3-voltage-divider-resistors = <7000 1000>;
16 pin-v4-voltage-divider-resistors = <500 1000>;
27 pin-v1-voltage-divider-resistors = <0 1>;
28 pin-v2-voltage-divider-resistors = <0 1>;
29 pin-v3-voltage-divider-resistors = <0 1>;
30 pin-v4-voltage-divider-resistors = <0 1>;
39 pin-v1-voltage-divider-resistors = <0 1>;
40 pin-v2-voltage-divider-resistors = <0 1>;
[all …]
/Zephyr-latest/samples/subsys/sip_svc/
DREADME.rst10 performs a voltage value query from Secure Device Manager in Intel Agilex
19 intel Agilex SoC FPGA query the voltage levels in Secure Device Manager.
39 Got response of transaction id 0x00 and voltage is 0.846878v
40 Got response of transaction id 0x01 and voltage is 0.858170v
41 Got response of transaction id 0x02 and voltage is 0.860168v
42 Got response of transaction id 0x03 and voltage is 0.846832v
43 Got response of transaction id 0x04 and voltage is 0.858337v
44 Got response of transaction id 0x05 and voltage is 0.871704v
45 Got response of transaction id 0x06 and voltage is 0.859421v
46 Got response of transaction id 0x07 and voltage is 0.857254v
[all …]
/Zephyr-latest/samples/sensor/max17262/
Dapp.overlay13 design-voltage = <3600>;
14 desired-voltage = <3600>;
17 empty-voltage = <3300>;
18 recovery-voltage = <3880>;
19 charge-voltage = <3600>;
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
DKconfig12 This option enables the ITE it8xxx2 voltage comparator,
13 it8xxx2 supports six 10-bit resolution voltage comparator
19 int "ITE it8xxx2 voltage comparator device instance init priority"
22 This option sets ITE voltage comparator device instance init priority.
25 bool "ITE it8xxx2 voltage comparator threshold detection uses internal work queue"
33 int "ITE it8xxx2 voltage comparator threshold detection work queue priority"
36 This option sets internal ITE voltage comparator threshold detection
40 int "ITE it8xxx2 voltage comparator threshold detection work queue stack size"
43 This option sets internal ITE voltage comparator threshold detection
/Zephyr-latest/samples/boards/nordic/battery/
DREADME.rst4 Measure the voltage of the device power supply.
10 infrastructure to measure the voltage of the device power supply. Two
14 ``voltage-divider`` then the voltage is measured using that divider. An
15 example of a devicetree node describing a voltage divider for battery
22 compatible = "voltage-divider";
30 * If the board does not have a voltage divider and so no ``/vbatt`` node
33 directly connected to the digital voltage signal, and the internal source for
45 Note that in many cases where there is no voltage divider the digital
46 voltage will be fed from a regulator that provides a fixed voltage
47 regardless of source voltage, rather than by the source directly. In
[all …]
/Zephyr-latest/samples/sensor/max17262/src/
Dmain.c22 struct sensor_value voltage, avg_current, temperature; in main() local
26 sensor_channel_get(dev, SENSOR_CHAN_GAUGE_VOLTAGE, &voltage); in main()
34 voltage.val1, voltage.val2, (double)i_avg, in main()
/Zephyr-latest/samples/sensor/mcux_acmp/
DREADME.rst14 The input voltage for the negative input of the analog comparator is
15 provided by the ACMP Digital-to-Analog Converter (DAC). The input voltage for
17 :zephyr:board:`twr_ke18f` board, for :zephyr:board:`mimxrt1170_evk` the voltage signal is
20 change the external voltage signal to check the output.
30 ACMP input voltage by turning the on-board potentiometer.
41 ACMP input voltage by changing the voltage input to J25-13.
52 ACMP input voltage by changing the voltage input to J2-3.
63 ACMP input voltage by changing the voltage input to J2-3.
74 ACMP input voltage by changing the voltage input to J45-13.
/Zephyr-latest/samples/sensor/mcux_lpcmp/
DREADME.rst13 means the input voltage comes from the LPCMP internal DAC, the reference
14 voltage of the DAC is set to 0 (for the specific chip, the user needs to
15 check the reference manual to confirm where this reference voltage comes
16 from), the output voltage of the DAC is equal to (VREF/256)*(data+1), where
20 connect an external voltage to that port and change the input voltage to
31 LPCMP positive input port voltage by changing the voltage input to J2-17.
42 LPCMP positive input port voltage by changing the voltage input to J2-8.
53 LPCMP positive input port voltage by changing the voltage input to J2-9.
/Zephyr-latest/drivers/sensor/voltage_divider/
Dvoltage.c16 LOG_MODULE_REGISTER(voltage, CONFIG_SENSOR_LOG_LEVEL);
19 struct voltage_divider_dt_spec voltage; member
43 ret = adc_read(config->voltage.port.dev, &data->sequence); in fetch()
65 if (config->voltage.port.channel_cfg.differential) { in get()
71 ret = adc_raw_to_millivolts_dt(&config->voltage.port, &raw_val); in get()
80 (void)voltage_divider_scale_dt(&config->voltage, &v_mv); in get()
147 if (!adc_is_ready_dt(&config->voltage.port)) { in voltage_init()
159 ret = adc_channel_setup_dt(&config->voltage.port); in voltage_init()
165 ret = adc_sequence_init_dt(&config->voltage.port, &data->sequence); in voltage_init()
181 .voltage = VOLTAGE_DIVIDER_DT_SPEC_GET(DT_DRV_INST(inst)), \
/Zephyr-latest/samples/sensor/ina219/
DREADME.rst5 Get shunt voltage, bus voltage, power and current from an INA219 sensor.
10 This sample application measures shunt voltage, bus voltage, power and current
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.
/Zephyr-latest/tests/drivers/fuel_gauge/sbs_gauge/src/
Dtest_sbs_gauge.c211 union fuel_gauge_prop_val voltage; in ZTEST_USER_F() local
216 zassert_ok(fuel_gauge_get_prop(fixture->dev, FUEL_GAUGE_VOLTAGE, &voltage)); in ZTEST_USER_F()
219 zassert_equal(voltage.voltage, expected_uV, "Got %d instead of %d", voltage, expected_uV); in ZTEST_USER_F()
228 union fuel_gauge_prop_val voltage; in ZTEST_USER_F() local
233 zassert_ok(fuel_gauge_get_prop(fixture->dev, FUEL_GAUGE_VOLTAGE, &voltage)); in ZTEST_USER_F()
236 zassert_equal(voltage.voltage, expected_uV, "Got %d instead of %d", voltage, expected_uV); in ZTEST_USER_F()
/Zephyr-latest/tests/drivers/regulator/voltage/boards/
Dmimxrt685_evk_mimxrt685s_cm33.overlay9 * so limit regulator voltage to this range.
10 * Only test regulators we can safely change voltage to in RUN mode
37 compatible = "test-regulator-voltage";
38 /* Note: LDO2 voltage range needs to be tested first
40 * default voltage of 3.3V, LDO1 will not always deliver
41 * a voltage within given tolerance
/Zephyr-latest/samples/sensor/soc_voltage/
DREADME.rst5 Get voltage data from an SoC's voltage sensor(s).
10 This sample reads one or more of the various voltage sensors an SoC might have and
31 Sensor voltage: 2.99 V
/Zephyr-latest/tests/drivers/build_all/charger/
Di2c.dtsi16 constant-charge-voltage-max-microvolt = <4208000>;
30 constant-charge-voltage-max-microvolt = <4050000>;
31 system-voltage-min-threshold-microvolt = <3600000>;
42 constant-charge-voltage-max-microvolt = <4200000>;
/Zephyr-latest/tests/drivers/dac/dac_loopback/boards/
Dlpcxpresso55s36.overlay8 /* To align reference voltage with ADC. */
9 voltage-reference = <1>;
/Zephyr-latest/drivers/charger/
DKconfig32 voltage notifications.
44 menu "System voltage notification"
47 bool "Support system voltage notifications"
50 Enables support for system voltage notifications
/Zephyr-latest/drivers/fuel_gauge/composite/
Dfuel_gauge_composite.c53 int voltage, rc = 0; in composite_get_prop() local
70 &val->voltage); in composite_get_prop()
77 rc = composite_read_micro(config->battery_voltage, SENSOR_CHAN_VOLTAGE, &voltage); in composite_get_prop()
79 battery_soc_lookup(config->ocv_lookup_table, voltage) / 1000; in composite_get_prop()
/Zephyr-latest/tests/drivers/adc/adc_accuracy_test/
DREADME.txt9 - Reference voltage: an ADC channel is read and compared to an expected
16 voltage on the same range.
18 In the reference voltage case, the ADC is expected to be connected to a
19 known voltage reference, whose value is informed, in millivolts, at
/Zephyr-latest/drivers/sensor/ti/ina226/
DKconfig18 Enable shunt voltage measurement for INA226.
20 This is the actual shunt voltage measured which is scaled within the
26 shunt voltage measurement is required.
/Zephyr-latest/samples/sensor/adc_cmp_npcx/
DREADME.rst5 Detect upper/lower voltage limits using NPCX ADC Comparator driver.
13 This application is a voltage comparator with hysteresis, upper limit is
20 Build the application for the :zephyr:board:`npcx9m6f_evb` board, and provide voltage
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/
Dmimxrt595_evk_cm33.overlay22 * - Connect LPADC0 CH0A signal to voltage between 0~1.8V (J30 pin 1)
23 * - Connect LPADC0 CH0B signal to voltage between 0~1.8V (J30 pin 2)
25 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J30 pin 3)
Dlpcxpresso55s69_cpu0.overlay24 * - Connect LPADC0 CH0A signal to voltage between 0~3.3V (P19 pin 4)
25 * - Connect LPADC0 CH0B signal to voltage between 0~3.3V (P19 pin 2)
27 * - Connect LPADC0 CH4A signal to voltage between 0~3.3V (P17 pin 19)
29 * - Connect LPADC0 CH4B signal to voltage between 0~3.3V (P18 pin 1)
/Zephyr-latest/subsys/sd/
Dsd.c126 int ret, voltage; in sd_init_io() local
139 voltage = SD_VOL_3_3_V; in sd_init_io()
142 voltage = SD_VOL_3_0_V; in sd_init_io()
145 voltage = SD_VOL_1_8_V; in sd_init_io()
149 bus_io->signal_voltage = voltage; in sd_init_io()
167 card->card_voltage = voltage; in sd_init_io()
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dfrdm_mcxn236.overlay24 * - Connect LPADC0 CH1A signal to voltage between 0~1.8V (J4 pin 4)
25 * - Connect LPADC0 CH1B signal to voltage between 0~1.8V (J8 pin 11)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J8 pin 12)
Dfrdm_mcxn947_mcxn947_cpu0.overlay24 * - Connect LPADC0 CH1A signal to voltage between 0~1.8V (J8 pin 20)
25 * - Connect LPADC0 CH1B signal to voltage between 0~1.8V (J8 pin 24)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J8 pin 28)

1234567891011