Lines Matching +full:discharge +full:- +full:gpios
1 .. zephyr:code-sample:: nrf_battery
14 ``voltage-divider`` then the voltage is measured using that divider. An
18 .. code-block:: devicetree
22 compatible = "voltage-divider";
23 io-channels = <&adc 4>;
24 output-ohms = <180000>;
25 full-ohms = <(1500000 + 180000)>;
26 power-gpios = <&sx1509b 4 0>;
37 .. code-block :: devicetree
41 io-channels = <&adc 4>;
51 The sample provides discharge curves that map from a measured voltage to
66 A Nordic-based board, optionally with a voltage divider specified in its
74 .. zephyr-app-commands::
75 :zephyr-app: samples/boards/nordic/battery
84 .. code-block:: console
86 *** Booting Zephyr OS build zephyr-v2.2.0-318-g84219bdc1ac2 ***