Home
last modified time | relevance | path

Searched +full:device +full:- +full:chemistry (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/dts/bindings/fuel-gauge/
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:
16 Device to read battery voltage from.
18 Device must implement the sensor API and provide the
21 battery-current:
24 Device to read battery current from.
26 Device must implement the sensor API and provide the
[all …]
/Zephyr-latest/dts/bindings/battery/
Dbattery.yaml2 # SPDX-License-Identifier: Apache-2.0
11 device-chemistry:
14 The "lithium-ion" value is a blanket type for all lithium-ion batteries.
15 If the specific chemistry is unknown, this value can be used instead of
16 the precise "lithium-ion-X" options.
18 - "nickel-cadmium"
19 - "nickel-metal-hydride"
20 - "lithium-ion"
21 - "lithium-ion-polymer"
22 - "lithium-ion-iron-phosphate"
[all …]
/Zephyr-latest/drivers/fuel_gauge/composite/
Dfuel_gauge_composite.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/device.h>
17 const struct device *battery_voltage;
18 const struct device *battery_current;
21 enum battery_chemistry chemistry; member
24 static int composite_read_micro(const struct device *dev, enum sensor_channel chan, int *val) in composite_read_micro()
49 static int composite_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in composite_get_prop()
52 const struct composite_config *config = dev->config; in composite_get_prop()
57 if (config->charge_capacity_microamp_hours == 0) { in composite_get_prop()
58 return -ENOTSUP; in composite_get_prop()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,bq274xx.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [sensor-device.yaml, i2c-device.yaml]
14 design-voltage:
17 description: Battery Design Voltage in mV (3300 - 4400)
19 design-capacity:
24 taper-current:
31 terminate-voltage:
38 chemistry-id:
44 int-gpios:
45 type: phandle-array
[all …]
/Zephyr-latest/tests/drivers/build_all/fuel_gauge/
Dapp.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/i2c/i2c.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
15 gpio-controller;
17 #gpio-cells = <0x2>;
22 #address-cells = <1>;
23 #size-cells = <0>;
27 clock-frequency = <I2C_BITRATE_STANDARD>;
35 #io-channel-cells = <1>;
[all …]
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx.c4 * SPDX-License-Identifier: Apache-2.0
7 * - BQ27441
8 * Datasheet: https://www.ti.com/lit/gpn/bq27441-g1
10 * - BQ27421
11 * Datasheet: https://www.ti.com/lit/gpn/bq27421-g1
13 * - BQ27427
23 #include <zephyr/pm/device.h>
47 * defined as 250ms typical in the datasheet (Power-up communication delay).
82 static int bq274xx_cmd_reg_read(const struct device *dev, uint8_t reg_addr, in bq274xx_cmd_reg_read()
85 const struct bq274xx_config *config = dev->config; in bq274xx_cmd_reg_read()
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Dadc.dtsi5 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/battery/battery.h>
16 io-channels = <&test_adc 0>;
21 compatible = "voltage-divider";
22 io-channels = <&test_adc 1>;
23 io-channel-names = "VOLTAGE";
24 output-ohms = <47000>; /* R1 */
25 full-ohms = <(100000 + 47000)>; /* R2 + R1 */
26 power-gpios = <&test_gpio 0 0>;
31 compatible = "current-sense-amplifier";
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dfuel_gauge.h5 * SPDX-License-Identifier: Apache-2.0
29 #include <zephyr/device.h>
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 */
101 /** Chemistry (1 byte length + 4 bytes data) */
107 * Reserved to demark downstream custom properties - use this value as the actual value may
207 typedef int (*fuel_gauge_get_property_t)(const struct device *dev, fuel_gauge_prop_t prop,
216 typedef int (*fuel_gauge_set_property_t)(const struct device *dev, fuel_gauge_prop_t prop,
[all …]
/Zephyr-latest/boards/nordic/thingy53/
Dthingy53_nrf5340_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
6 #include "thingy53_nrf5340_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/battery/battery.h>
12 zephyr,bt-hci-ipc = &ipc0;
13 zephyr,bt-hci = &bt_hci_ipc0;
14 nordic,802154-spinel-ipc = &ipc0;
19 compatible = "gpio-keys";
33 compatible = "gpio-leds";
49 compatible = "pwm-leds";
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]