Home
last modified time | relevance | path

Searched +full:fuel +full:- +full:gauge (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-latest/doc/hardware/peripherals/
Dfuel_gauge.rst3 Fuel Gauge
6 The fuel gauge subsystem exposes an API to uniformly access battery fuel gauge devices. Currently,
18 Fundamentally, a property is a quantity that a fuel gauge device can measure.
20 Fuel gauges typically support multiple properties, such as temperature readings of the battery-pack
21 or present-time current/voltage.
32 Many fuel gauges embedded within battery packs expose a register address that when written to with a
36 The fuel gauge API exposes battery cutoff with the :c:func:`fuel_gauge_battery_cutoff` function.
41 The Fuel Gauge API explicitly provides no caching for its clients.
/Zephyr-latest/drivers/fuel_gauge/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
6 bool "Battery fuel gauge drivers"
8 Enable battery fuel gauge driver configuration.
13 module-str = fuel_gauge
17 int "Battery Fuel Gauge init priority"
20 Battery fuel gauge initialization priority.
/Zephyr-latest/samples/fuel_gauge/max17048/
DREADME.rst1 .. zephyr:code-sample:: max17048
2 :name: MAX17048 Li-Ion battery fuel gauge
4 Read battery percentage and power status using MAX17048 fuel gauge.
9 …is sample shows how to use the Zephyr :ref:`fuel_gauge_api` API driver for the MAX17048 fuel gauge.
11 .. _MAX17048: https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html
18 The sample can be configured to support MAX17048 fuel gauge connected via either I2C. It only needs
23 By using this fuel gauge you can get the following information:
42 Found device "max17048@36", getting fuel gauge data
/Zephyr-latest/dts/bindings/fuel-gauge/
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.
14 This compatible is intended to be used with the abstract SBS Gauge compatible because it is
15 actuated by the SBS driver for SBS compliant fuel gauge ICs.
18 battery-cutoff-reg-addr:
19 # For SBS compliant fuel gauges this is usually "ManufactuerAccess"
21 battery-cutoff-payload:
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.
12 Note: These properties are to be used with meaningful defaults in fuel gauge ICs that can cut off
13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an
17 battery-cutoff-support:
22 battery-cutoff-reg-addr:
26 battery-cutoff-payload:
Dzephyr,fuel-gauge-composite.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Composite fuel-gauge constructed from analog input values
7 compatible: "zephyr,fuel-gauge-composite"
9 include: [fuel-gauge.yaml, battery.yaml]
12 battery-voltage:
21 battery-current:
29 device-chemistry:
32 ocv-capacity-table-0:
Dsbs,sbs-gauge-new-api.yaml1 description: SBS 1.1 compliant fuel gauge (http://www.sbs-forum.org/specs)
3 compatible: "sbs,sbs-gauge-new-api"
5 include: [i2c-device.yaml, fuel-gauge.yaml]
Dti,bq27z746.yaml4 # SPDX-License-Identifier: Apache-2.0
7 Texas Instruments BQ27Z746 fuel gauge. For more info visit
13 include: [i2c-device.yaml, fuel-gauge.yaml]
Dmaxim,max17048.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Maxim MAX17048 Fuel Gauge with ModelGauge. See more info at:
6 https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html
10 include: [i2c-device.yaml, fuel-gauge.yaml]
Dfuel-gauge.yaml4 # SPDX-License-Identifier: Apache-2.0
10 Battery fuel-gauge parameters and info
/Zephyr-latest/drivers/fuel_gauge/max17048/
DKconfig1 # MAX17048 Li-Ion battery fuel gauge
4 # SPDX-License-Identifier: Apache-2.0
8 bool "MAX17048 Li-Po fuel gauge"
13 Enable driver for the MAX17048 fuel gauge device.
16 bool "Emulate an MAX17048 fuel gague"
/Zephyr-latest/drivers/fuel_gauge/composite/
DKconfig1 # Zephyr composite fuel-gauge device
4 # SPDX-License-Identifier: Apache-2.0
7 bool "Zephyr composite fuel gauge"
11 Enable driver for the Zephyr composite fuel gauge device.
/Zephyr-latest/include/zephyr/drivers/
Demul_fuel_gauge.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Backend APIs for the fuel gauge emulators.
24 * @brief Fuel gauge backend emulator APIs
25 * @defgroup fuel_gauge_emulator_backend Fuel gauge backend emulator APIs
44 * @brief Set charging for fuel gauge associated battery.
46 * Set how much the battery associated with a fuel gauge IC is charging or discharging. Where
50 * @param target Pointer to the emulator structure for the fuel gauge emulator instance.
55 * @retval -EINVAL if mV or mA are 0.
62 (const struct fuel_gauge_emul_driver_api *)target->backend_api; in z_impl_emul_fuel_gauge_set_battery_charging()
64 if (backend_api->set_battery_charging == 0) { in z_impl_emul_fuel_gauge_set_battery_charging()
[all …]
Dfuel_gauge.h5 * SPDX-License-Identifier: Apache-2.0
12 * @brief Fuel Gauge Interface
13 * @defgroup fuel_gauge_interface Fuel Gauge Interface
41 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */
45 /** Whether the battery underlying the fuel-gauge is cut off from charge */
65 /** Absolute state of charge (percent, 0-100) - expressed as % of design capacity */
67 /** Relative state of charge (percent, 0-100) - expressed as % of full charge capacity */
104 /** Reserved to demark end of common fuel gauge properties */
107 * Reserved to demark downstream custom properties - use this value as the actual value may
241 * Note: Historically this API allowed drivers to implement a custom multi-get/set property
[all …]
/Zephyr-latest/drivers/fuel_gauge/bq27z746/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
7 bool "BQ27Z746 Fuel Gauge"
12 Enable I2C-based driver for BQ27Z746 Fuel Gauge.
15 bool "Emulate an BQ27Z746 fuel gague"
/Zephyr-latest/samples/sensor/bq274xx/
DREADME.rst1 .. zephyr:code-sample:: bq274xx
2 :name: BQ274XX fuel gauge sensor
3 :relevant-api: sensor_interface
5 Get various fuel gauge parameters from a BQ274XX sensor.
10 This sample application retrieves all the fuel gauge parameters:
12 - Voltage, in volts
13 - Average current, in amps
14 - Standby current, in amps
15 - Maximum load current, in amps
16 - Gauge temperature
[all …]
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
5 bool "Smart Battery Fuel Gauge"
10 Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
Dsbs_gauge.h4 * SPDX-License-Identifier: Apache-2.0
51 * Nearly all cutoff payloads are actually a singular value that must be written twice to the fuel
52 * gauge. For the case where it's a singular value that must only be written to the fuel gauge only
56 * at compile-time would require labyrinthine amount of macro-batics.
58 * Why not compute at runtime: It's not worth the memory given having more than a single fuel gauge
/Zephyr-latest/drivers/sensor/sbs_gauge/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
5 bool "Smart Battery Fuel Gauge"
10 Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
/Zephyr-latest/drivers/sensor/maxim/max17262/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
6 bool "MAX17262 Fuel Gauge"
11 Enable I2C-based driver for MAX17262 Fuel Gauge. This driver supports
/Zephyr-latest/drivers/sensor/maxim/max17055/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
6 bool "MAX17055 Fuel Gauge"
11 Enable I2C-based driver for MAX17055 Fuel Gauge. This driver supports
/Zephyr-latest/dts/bindings/sensor/
Dsbs,sbs-gauge.yaml1 description: SBS 1.1 compliant fuel gauge (http://www.sbs-forum.org/specs)
3 compatible: "sbs,sbs-gauge"
5 include: [sensor-device.yaml, i2c-device.yaml]
/Zephyr-latest/drivers/sensor/ti/bq274xx/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
6 bool "BQ274xx Fuel Gauge"
11 Enable I2C-based driver for BQ274xx Fuel Gauge.
37 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_BQ274XX),int-gpios)
43 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_BQ274XX),int-gpios)
/Zephyr-latest/samples/fuel_gauge/
Dfuel_gauge.rst1 .. zephyr:code-sample-category:: fuel_gauge
2 :name: Fuel Gauge
3 :show-listing:
/Zephyr-latest/samples/sensor/max17262/
DREADME.rst1 .. zephyr:code-sample:: max17262
2 :name: MAX17262 Fuel Gauge Sensor
3 :relevant-api: sensor_interface
17 The MAX17262 is an ultra-low power fuel-gauge IC which implements the Maxim
18 ModelGauge m5 algorithm. The IC monitors a single-cell battery pack and
34 .. zephyr-app-commands::
35 :zephyr-app: samples/sensor/max17262
45 .. code-block:: console
47 $ sudo picocom -D /dev/ttyUSB0
49 .. code-block:: console
[all …]

123