Home
last modified time | relevance | path

Searched full:charge (Results 1 – 25 of 121) sorted by relevance

12345

/Zephyr-latest/dts/bindings/battery/
Dbattery.yaml33 long, representing the voltages for 0-100% charge in 10% steps.
35 charge-full-design-microamp-hours:
39 re-charge-voltage-microvolt:
45 description: current for pre-charge phase
47 charge-term-current-microamp:
49 description: current for charge termination phase
51 constant-charge-current-max-microamp:
55 constant-charge-voltage-max-microvolt:
/Zephyr-latest/samples/drivers/charger/
DREADME.rst5 Charge a battery using the charger driver API.
15 - If power is provided to the charger, then the sample application will attempt to enable the charge
17 - After the charge cycle is initiated, the sample application will check the status property of the
19 - Once the charger device reports that the charge cycle has completed, the application returns.
21 Note that this sample terminates once the charge cycle completes and does not attempt to "top-off"
23 health state and the implications the environment may have on the charge cycle execution. The
/Zephyr-latest/dts/bindings/charger/
Dti,bq25180.yaml14 constant-charge-current-max-microamp = <500000>;
23 constant-charge-current-max-microamp:
27 Charge current set at init time in uA, available range is 5 mA to 800 mA.
29 value. If set to 0 (default) skip setting the charge current value at
32 constant-charge-voltage-max-microvolt:
43 Threshold at which voltage to switch to constant current charge.
Dti,bq24190.yaml11 constant-charge-current-max-microamp:
14 constant-charge-voltage-max-microvolt:
19 description: Active low, charge enable pin
Dmaxim,max20335-charger.yaml11 constant-charge-voltage-max-microvolt:
56 re-charge-threshold-microvolt:
/Zephyr-latest/doc/hardware/peripherals/
Dcharger.rst13 The action of charging a battery pack is referred to as a charge cycle. When the charge cycle is
14 executed the battery pack is charged according to the charge profile configured on the charger
15 device. The charge profile is defined in the battery pack's specification that is provided by the
16 manufacturer. On charger devices with a control port, the charge profile can be configured by the
23 Initiating a Charge Cycle
26 A charge cycle is initiated or terminated using :c:func:`charger_charge_enable`.
/Zephyr-latest/include/zephyr/bluetooth/services/
Dbas.h102 /** @brief Battery Charge State
104 * Enumeration for the charge state of the battery.
107 /** Battery charge state is unknown. */
120 /** @brief Battery Charge Level
122 * Enumeration for the level of charge in the battery.
125 /** Battery charge level is unknown. */
128 /** Battery charge level is good. */
131 /** Battery charge level is low. */
134 /** Battery charge level is critical. */
138 /** @brief Battery Charge Type
[all …]
/Zephyr-latest/tests/drivers/build_all/charger/
Di2c.dtsi15 constant-charge-current-max-microamp = <1000000>;
16 constant-charge-voltage-max-microvolt = <4208000>;
30 constant-charge-voltage-max-microvolt = <4050000>;
32 re-charge-threshold-microvolt = <170000>;
41 constant-charge-current-max-microamp = <500000>;
42 constant-charge-voltage-max-microvolt = <4200000>;
/Zephyr-latest/dts/bindings/sensor/
Dnordic,npm1300-charger.yaml18 Charge termination voltage in uV.
24 Charge termination voltage when warm in uV.
32 Charge current in uA.
108 Charge completes when the charge current falls below this value.
111 vbatlow-charge-enable:
Dmaxim,max17262.yaml44 charge-voltage:
47 description: Charge voltage in mV
/Zephyr-latest/samples/sensor/bq274xx/src/
Dmain.c105 printk("Unable to fetch State of Charge\n"); in do_main()
113 printk("Unable to get state of charge\n"); in do_main()
117 printk("State of charge: %d%%\n", state_of_charge.val1); in do_main()
130 printk("Unable to get state of charge\n"); in do_main()
155 printk("Failed to fetch Full Charge Capacity\n"); in do_main()
163 printk("Unable to get full charge capacity\n"); in do_main()
167 printk("Full charge capacity: %d.%06dAh\n", in do_main()
173 printk("Unable to fetch Remaining Charge Capacity\n"); in do_main()
181 printk("Unable to get remaining charge capacity\n"); in do_main()
185 printk("Remaining charge capacity: %d.%06dAh\n", in do_main()
/Zephyr-latest/include/zephyr/drivers/
Dcharger.h55 /** Configuration of charge termination target in µA */
57 /** Configuration of charge voltage regulation target in µV */
62 * This value is a rising current threshold that is regulated by reducing the charge
69 * This value is a falling voltage threshold that is regulated by reducing the charge
143 /** Charging device is not able to charge a battery */
152 * @brief Charge algorithm types
155 /** Charge type is unknown */
160 * Charging is occurring at the slowest desired charge rate,
164 /** Charging is occurring at the fastest desired charge rate */
166 /** Charging is occurring at a moderate charge rate */
[all …]
/Zephyr-latest/samples/sensor/bq274xx/
DREADME.rst17 - State of charge measurement in percentage
18 - Full Charge Capacity in mAh
19 - Remaining Charge Capacity in mAh
/Zephyr-latest/dts/bindings/led/
Dti,lp5569.yaml13 charge-pump-mode:
22 If provided, configures the internal charge-pump mode in the MISC
/Zephyr-latest/samples/fuel_gauge/max17048/
DREADME.rst24 * Battery charge status as percentage
45 Charge 72%
49 Charge 72%
/Zephyr-latest/drivers/fuel_gauge/max17048/
Dmax17048.c32 /* Charge as percentage */
33 uint8_t charge; member
191 val->relative_state_of_charge = data->charge; in max17048_get_single_prop_impl()
210 int rc = max17048_percent(dev, &data->charge); in max17048_get_prop()
244 * In the following code, we multiply by 1000 the charge to increase the in max17048_get_prop()
251 * charge will be 1000000 in max17048_get_prop()
254 uint8_t percentage_pending = 100 - data->charge; in max17048_get_prop()
261 uint32_t hours_pending = data->charge * 1000000 / -crate; in max17048_get_prop()
268 * This case is to avoid a division by 0 when the charge rate is the same in max17048_get_prop()
/Zephyr-latest/drivers/sensor/
Dshell_battery.c55 struct sensor_value charge, v_desired, v_design, cap, nom_cap; in cmd_battery() local
78 SENSOR_CHAN_GAUGE_STATE_OF_CHARGE, &charge, in cmd_battery()
106 allowed = i_desired.val1 && v_desired.val2 && charge.val1 < 100; in cmd_battery()
109 shell_fprintf(sh, SHELL_NORMAL, "Charge: %d %%\n", charge.val1); in cmd_battery()
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.h58 /* Full charge capacity in 5/Rsense uA */
66 /* Cycle count in 1/100ths (number of charge/discharge cycles) */
84 /* The charge termination current in uA */
DKconfig12 reading various sensor settings including charge level percentage,
/Zephyr-latest/drivers/sensor/maxim/max17262/
Dmax17262.h61 /* Full charge capacity in mAh */
69 /* Cycle count in 1/100ths (number of charge/discharge cycles) */
93 /* Defined charge voltage value in mV */
/Zephyr-latest/drivers/charger/
Dbq24190.h38 /* Charge Current Control */
49 /* Pre-charge/Termination Current Cntl */
64 /* Charge Voltage Control */
77 /* Charge Term/Timer Control */
/Zephyr-latest/samples/drivers/charger/src/
Dmain.c73 printk("Enabling charge not supported, assuming auto charge enable\n"); in main()
95 printk("Device \"%s\" charge type is %d\n", chgdev->name, val.charge_type); in main()
/Zephyr-latest/include/zephyr/drivers/sensor/
Dbattery.h62 * @brief Convert an OCV table and battery voltage to a charge percentage
67 * @returns Battery state of charge in milliPercent
/Zephyr-latest/drivers/pinctrl/
DKconfig.stm3216 Initialization priority for the routine in charge of configuring the
/Zephyr-latest/dts/bindings/mfd/
Dgd,gd32-rcu.yaml6 charge of reset control (RCTL) and clock control (CCTL) for all SoC

12345