Home
last modified time | relevance | path

Searched refs:volt (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-Core-3.4.0/boards/arm/mimxrt595_evk/
Dboard.c30 uint32_t volt; in board_calc_volt_level() local
40 volt = POWER_INVALID_VOLT_LEVEL; in board_calc_volt_level()
42 volt = sw1_volt[i - 1U]; in board_calc_volt_level()
45 return volt; in board_calc_volt_level()
50 uint32_t volt; in board_config_pmic() local
53 volt = board_calc_volt_level(); in board_config_pmic()
55 ret = regulator_set_voltage(sw1, volt, volt); in board_config_pmic()
/Zephyr-Core-3.4.0/samples/shields/npm1300_ek/src/
Dmain.c47 struct sensor_value volt; in read_sensors() local
54 sensor_channel_get(charger, SENSOR_CHAN_GAUGE_VOLTAGE, &volt); in read_sensors()
60 printk("V: %d.%03d ", volt.val1, volt.val2 / 1000); in read_sensors()
/Zephyr-Core-3.4.0/dts/riscv/ite/
Dit81xx2.dtsi72 volt-sel = <NO_FUNC NO_FUNC NO_FUNC NO_FUNC
74 volt-sel-mask = <0 0 0 0
91 volt-sel = <NO_FUNC NO_FUNC NO_FUNC 0xf016e7
93 volt-sel-mask = <0 0 0 0x02
110 volt-sel = <0xf016e7 0xf016e4 0xf016e4 NO_FUNC
112 volt-sel-mask = <0x80 0x20 0x10 0
129 volt-sel = <0xf016e4 0xf016e4 0xf016e4 0xf016e5
131 volt-sel-mask = <0x04 0x02 0x01 0x80
148 volt-sel = <0xf016e5 0xf016d4 0xf016d4 NO_FUNC
150 volt-sel-mask = <0x20 0x40 0x80 0
[all …]
Dit82xx2.dtsi59 has-volt-sel = <1 1 1 1 1 1 1 1>;
85 has-volt-sel = <1 1 1 1 1 1 1 0>;
111 has-volt-sel = <1 1 1 1 1 1 1 1>;
137 has-volt-sel = <1 1 1 1 1 1 1 1>;
163 has-volt-sel = <1 1 1 1 1 1 1 1>;
189 has-volt-sel = <1 1 1 1 1 1 1 1>;
215 has-volt-sel = <1 1 1 0 0 0 1 0>;
241 has-volt-sel = <1 1 1 1 1 1 1 0>;
267 has-volt-sel = <1 1 1 1 1 1 1 1>;
293 has-volt-sel = <1 1 1 1 1 1 0 0>;
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/
Dshell_battery.c54 struct sensor_value temp, volt, current, i_desired, charge_remain; in cmd_battery() local
73 SENSOR_CHAN_GAUGE_VOLTAGE, &volt, in cmd_battery()
93 shell_fprintf(sh, SHELL_NORMAL, "V: %5d.%02d V\n", volt.val1, in cmd_battery()
94 volt.val2 / 10000); in cmd_battery()
/Zephyr-Core-3.4.0/boards/arm/nucleo_h563zi/
Dnucleo_h563zi.dts31 volt-sensor0 = &vref;
32 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_u575zi_q/
Dnucleo_u575zi_q.dts31 volt-sensor0 = &vref1;
32 volt-sensor1 = &vbat4;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f042k6/
Dnucleo_f042k6.dts40 volt-sensor0 = &vref;
41 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_l552ze_q/
Dnucleo_l552ze_q-common.dtsi38 volt-sensor0 = &vref;
39 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f303k8/
Dnucleo_f303k8.dts40 volt-sensor0 = &vref;
41 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f302r8/
Dnucleo_f302r8.dts43 volt-sensor0 = &vref;
44 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f031k6/
Dnucleo_f031k6.dts40 volt-sensor0 = &vref;
41 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/stm32f401_mini/
Dstm32f401_mini.dts41 volt-sensor0 = &vref;
42 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_l412rb_p/
Dnucleo_l412rb_p.dts42 volt-sensor0 = &vref;
43 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/blackpill_f401ce/
Dblackpill_f401ce.dts41 volt-sensor0 = &vref;
42 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/blackpill_f401cc/
Dblackpill_f401cc.dts41 volt-sensor0 = &vref;
42 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_ite_it8xxx2_v2.c114 gpio_flags_t volt = flags & IT8XXX2_GPIO_VOLTAGE_MASK; in gpio_ite_configure() local
116 if (volt == IT8XXX2_GPIO_VOLTAGE_1P8) { in gpio_ite_configure()
121 } else if (volt == IT8XXX2_GPIO_VOLTAGE_3P3) { in gpio_ite_configure()
129 } else if (volt == IT8XXX2_GPIO_VOLTAGE_DEFAULT) { in gpio_ite_configure()
/Zephyr-Core-3.4.0/samples/sensor/soc_voltage/
DREADME.rst16 ``SENSOR_CHAN_VOLTAGE`` and create an alias named ``volt-sensor0`` to link to the node.
/Zephyr-Core-3.4.0/boards/arm/blackpill_f411ce/
Dblackpill_f411ce.dts42 volt-sensor0 = &vref;
43 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/mikroe_clicker_2/
Dmikroe_clicker_2.dts52 volt-sensor0 = &vref;
53 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f091rc/
Dnucleo_f091rc.dts55 volt-sensor0 = &vref;
56 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/96b_aerocore2/
D96b_aerocore2.dts39 volt-sensor0 = &vref;
40 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/stm32l496g_disco/
Dstm32l496g_disco.dts62 volt-sensor0 = &vref;
63 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_l476rg/
Dnucleo_l476rg.dts42 volt-sensor0 = &vref;
43 volt-sensor1 = &vbat;
/Zephyr-Core-3.4.0/boards/arm/nucleo_f401re/
Dnucleo_f401re.dts54 volt-sensor0 = &vref;
55 volt-sensor1 = &vbat;

123