/Zephyr-Core-3.4.0/boards/arm/mimxrt595_evk/ |
D | board.c | 30 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/ |
D | main.c | 47 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/ |
D | it81xx2.dtsi | 72 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 …]
|
D | it82xx2.dtsi | 59 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/ |
D | shell_battery.c | 54 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/ |
D | nucleo_h563zi.dts | 31 volt-sensor0 = &vref; 32 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_u575zi_q/ |
D | nucleo_u575zi_q.dts | 31 volt-sensor0 = &vref1; 32 volt-sensor1 = &vbat4;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f042k6/ |
D | nucleo_f042k6.dts | 40 volt-sensor0 = &vref; 41 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_l552ze_q/ |
D | nucleo_l552ze_q-common.dtsi | 38 volt-sensor0 = &vref; 39 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f303k8/ |
D | nucleo_f303k8.dts | 40 volt-sensor0 = &vref; 41 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f302r8/ |
D | nucleo_f302r8.dts | 43 volt-sensor0 = &vref; 44 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f031k6/ |
D | nucleo_f031k6.dts | 40 volt-sensor0 = &vref; 41 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/stm32f401_mini/ |
D | stm32f401_mini.dts | 41 volt-sensor0 = &vref; 42 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_l412rb_p/ |
D | nucleo_l412rb_p.dts | 42 volt-sensor0 = &vref; 43 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/blackpill_f401ce/ |
D | blackpill_f401ce.dts | 41 volt-sensor0 = &vref; 42 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/blackpill_f401cc/ |
D | blackpill_f401cc.dts | 41 volt-sensor0 = &vref; 42 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/drivers/gpio/ |
D | gpio_ite_it8xxx2_v2.c | 114 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/ |
D | README.rst | 16 ``SENSOR_CHAN_VOLTAGE`` and create an alias named ``volt-sensor0`` to link to the node.
|
/Zephyr-Core-3.4.0/boards/arm/blackpill_f411ce/ |
D | blackpill_f411ce.dts | 42 volt-sensor0 = &vref; 43 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/mikroe_clicker_2/ |
D | mikroe_clicker_2.dts | 52 volt-sensor0 = &vref; 53 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f091rc/ |
D | nucleo_f091rc.dts | 55 volt-sensor0 = &vref; 56 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/96b_aerocore2/ |
D | 96b_aerocore2.dts | 39 volt-sensor0 = &vref; 40 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/stm32l496g_disco/ |
D | stm32l496g_disco.dts | 62 volt-sensor0 = &vref; 63 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_l476rg/ |
D | nucleo_l476rg.dts | 42 volt-sensor0 = &vref; 43 volt-sensor1 = &vbat;
|
/Zephyr-Core-3.4.0/boards/arm/nucleo_f401re/ |
D | nucleo_f401re.dts | 54 volt-sensor0 = &vref; 55 volt-sensor1 = &vbat;
|