Home
last modified time | relevance | path

Searched +full:battery +full:- +full:cutoff +full:- +full:reg +full:- +full:addr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/dts/bindings/fuel-gauge/
Dbattery-cutoff.yaml4 # SPDX-License-Identifier: Apache-2.0
9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or
10 similarly smart battery fuel gauges.
13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an
17 battery-cutoff-support:
19 Helper prop that indicates whether this device can cutoff the battery; this is also often
22 battery-cutoff-reg-addr:
24 Address of register to receive cutoff payload for battery cutoff.
26 battery-cutoff-payload:
28 Payload to write to cutoff battery register. This must be array of maximum 2 integers.
Dsbs,default-sbs-gauge.yaml4 # SPDX-License-Identifier: Apache-2.0
7 compatible: "sbs,default-sbs-gauge"
9 include: ["sbs,sbs-gauge-new-api.yaml", "battery-cutoff.yaml"]
12 Default generic smart battery fuel gauge driver. Includes support for battery cutoff if enabled.
18 battery-cutoff-reg-addr:
21 battery-cutoff-payload:
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
Demul_sbs_gauge.c5 * SPDX-License-Identifier: Apache-2.0
7 * Emulator for SBS 1.1 compliant smart battery fuel gauge.
33 /** Run-time data used by the emulator */
40 /* Whether the battery cutoff or not */
43 * Counts the number of times the cutoff payload has been sent to the designated
48 /* Non-register values associated with the state of the battery */
49 /* Battery terminal voltage */
51 /* Battery terminal current - Pos is charging, Neg is discharging */
59 uint16_t addr; member
65 static void emul_sbs_gauge_maybe_do_battery_cutoff(const struct emul *target, int reg, int val) in emul_sbs_gauge_maybe_do_battery_cutoff() argument
[all …]