/Zephyr-latest/dts/bindings/battery/ |
D | battery.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Static Battery Characteristics 8 linux/Documentation/devicetree/bindings/power/supply/battery.yaml 11 device-chemistry: 13 description: This describes the chemical technology of the battery. 14 The "lithium-ion" value is a blanket type for all lithium-ion batteries. 16 the precise "lithium-ion-X" options. 18 - "nickel-cadmium" 19 - "nickel-metal-hydride" 20 - "lithium-ion" [all …]
|
/Zephyr-latest/drivers/charger/ |
D | Kconfig | 3 # SPDX-License-Identifier: Apache-2.0 6 bool "Battery charger drivers" 8 Enable battery charger driver configuration. 13 module-str = charger 17 int "Battery charger init priority" 20 Battery charger initialization priority. 26 current notifications. 34 menu "Discharge current notifications" 37 bool "Support discharge current notifications" 40 Enables support for discharge current notifications
|
/Zephyr-latest/dts/bindings/fuel-gauge/ |
D | zephyr,fuel-gauge-composite.yaml | 2 # 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. 21 battery-current: 24 Device to read battery current from. 29 device-chemistry: 32 ocv-capacity-table-0:
|
/Zephyr-latest/include/zephyr/drivers/ |
D | charger.h | 4 * SPDX-License-Identifier: Apache-2.0 33 * @brief Runtime Dynamic Battery Parameters 39 /** Reports whether or not a battery is present. */ 51 /** Configuration of current sink used for charging in µA */ 53 /** Configuration of current sink used for conditioning in µA */ 60 * Configuration of the input current regulation target in µA 62 * This value is a rising current threshold that is regulated by reducing the charge 63 * current output 70 * current output 74 * Configuration to issue a notification to the system based on the input current [all …]
|
D | fuel_gauge.h | 5 * SPDX-License-Identifier: Apache-2.0 32 /** Runtime Dynamic Battery Parameters */ 34 * Provide a 1 minute average of the current on the battery. 41 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */ 43 /** Battery current (uA); negative=discharging */ 45 /** Whether the battery underlying the fuel-gauge is cut off from charge */ 49 /** Connect state of battery */ 55 /** Is the battery physically present */ 59 /** Remaining battery life time in minutes */ 61 /** Remaining time in minutes until battery reaches full charge */ [all …]
|
D | emul_fuel_gauge.h | 4 * SPDX-License-Identifier: Apache-2.0 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 47 * voltage is always positive and a positive or negative current denotes charging or discharging, 51 * @param uV Microvolts describing the battery voltage. 52 * @param uA Microamps describing the battery current where negative is discharging. 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() 65 return -ENOTSUP; in z_impl_emul_fuel_gauge_set_battery_charging() [all …]
|
/Zephyr-latest/dts/bindings/charger/ |
D | ti,bq25180.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 BQ25180 I2C Controlled, 1-Cell, 1-A Linear Battery Charger with Power Path 14 constant-charge-current-max-microamp = <500000>; 19 include: [battery.yaml, i2c-device.yaml] 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: 36 The maximum voltage that the battery will be charged at, defaults to 39 precharge-voltage-threshold-microvolt: [all …]
|
D | maxim,max20335-charger.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Maxim MAX20335 battery charger 6 include: battery.yaml 8 compatible: "maxim,max20335-charger" 11 constant-charge-voltage-max-microvolt: 14 - 4050000 15 - 4100000 16 - 4150000 17 - 4200000 18 - 4250000 [all …]
|
D | ti,bq24190.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [battery.yaml, i2c-device.yaml] 11 constant-charge-current-max-microamp: 14 constant-charge-voltage-max-microvolt: 17 ce-gpios: 18 type: phandle-array
|
/Zephyr-latest/dts/bindings/sensor/ |
D | maxim,max17262.yaml | 4 # 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 to 4400) 19 desired-voltage: 22 description: Battery Desired Voltage in mV (3300 to 4400) 24 desired-charging-current: 27 description: Battery Design Charging Current in mA (e.g. 2000) 29 design-cap: 32 description: Battery Capacity in mAh (default 3000) [all …]
|
D | maxim,max17055.yaml | 4 # SPDX-License-Identifier: Apache-2.0 11 include: [sensor-device.yaml, i2c-device.yaml] 14 design-capacity: 19 design-voltage: 22 description: Battery Design Voltage in mV (3300 to 4400) 24 desired-voltage: 27 description: Battery Desired Voltage in mV (3300 to 4400) 29 desired-charging-current: 32 description: Battery Design Charging Current in mA (e.g. 2000) 34 i-chg-term: [all …]
|
D | nordic,npm2100-vbat.yaml | 4 # SPDX-License-Identifier: Apache-2.0 7 description: NPM2100 PMIC Battery Voltage 9 compatible: "nordic,npm2100-vbat" 11 include: [sensor-device.yaml] 14 vout-min-microvolt: 18 When Vout falls to this level, the PMIC will allow more current to flow 19 from the battery by dropping to the vbatminl battery threshold. 21 vbat-min-microvolt: 25 The boost converter will not allow the battery to drop below this level.
|
D | ti,bq274xx.yaml | 4 # 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: 22 description: Battery Design Capacity in mAh 24 taper-current: 28 Current in mA slightly higher than the taper current threshold at which 31 terminate-voltage: 38 chemistry-id: [all …]
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | fuel_gauge.rst | 6 The fuel gauge subsystem exposes an API to uniformly access battery fuel gauge devices. Currently, 20 Fuel gauges typically support multiple properties, such as temperature readings of the battery-pack 21 or present-time current/voltage. 29 Battery Cutoff 32 Many fuel gauges embedded within battery packs expose a register address that when written to with a 33 specific payload will do a battery cutoff. This battery cutoff is often referred to as ship, shelf, 34 or sleep mode due to its utility in reducing battery drain while devices are stored or shipped. 36 The fuel gauge API exposes battery cutoff with the :c:func:`fuel_gauge_battery_cutoff` function.
|
D | charger.rst | 6 The charger subsystem exposes an API to uniformly access battery charger devices. 9 system as an input and provide power as an output downstream to the battery pack(s) and system. 13 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 34 Chargers typically support multiple properties, such as temperature readings of the battery-pack 35 or present-time current/voltage.
|
/Zephyr-latest/subsys/bluetooth/services/bas/ |
D | bas_internal.h | 4 * SPDX-License-Identifier: Apache-2.0 15 * @brief Battery level status structure definition. 23 * - bit 0: Identifier Present 24 * - Indicates whether the identifier field is present. 25 * - bit 1: Battery Level Present 26 * - Indicates whether the battery level field is present. 27 * - bit 2: Additional Status Present 28 * - Indicates whether the additional status field is present. 29 * - bit 3–7: RFU (Reserved for Future Use) 30 * - Reserved bits for future use; should be set to zero. [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | bas.h | 6 * SPDX-License-Identifier: Apache-2.0 13 * @brief Battery Service (BAS) 14 * @defgroup bt_bas Battery Service (BAS) 30 * @brief Battery Critical Status Characteristic flags. 33 * of various fields in the Battery Critical Status characteristic. 36 /** Battery Critical Status Bit 0: Critical Power State */ 39 /** Battery Critical Status Bit 1: Immediate Service Required */ 44 * @brief Battery Level Status Characteristic flags. 47 * of various fields in the Battery Level Status characteristic. 50 /** Bit indicating that the Battery Level Status identifier is present. */ [all …]
|
/Zephyr-latest/drivers/sensor/ |
D | shell_battery.c | 4 * SPDX-License-Identifier: Apache-2.0 19 * first is the sensor channel to read (-1 to terminate the list) 36 if (chan == -1) { in get_channels() 51 /* battery */ 54 struct sensor_value temp, volt, current, i_desired, charge_remain; in cmd_battery() local 57 const struct device *const dev = DEVICE_DT_GET(DT_ALIAS(battery)); in cmd_battery() 63 return -ENODEV; in cmd_battery() 74 SENSOR_CHAN_GAUGE_AVG_CURRENT, ¤t, in cmd_battery() 86 -1); in cmd_battery() 95 shell_fprintf(sh, SHELL_NORMAL, "V-desired: %d.%02d V\n", in cmd_battery() [all …]
|
/Zephyr-latest/boards/norik/octopus_io_board/doc/ |
D | index.rst | 6 Octopus IO-Board is an expansion to the Octopus SoM, which is built around the nRF9160 SiP 7 offering NB-IoT and LTE-M connectivity, GPS and accelerometer. Octopus IO-Board expands 9 development and prototyping of low-power IoT applications. 11 nRF9160 SiP contains ARM Cortex-M33 application processor and the 18 * :abbr:`I2C (Inter-Integrated Circuit)` 25 * :abbr:`UARTE (Universal asynchronous receiver-transmitter with EasyDMA)` 29 Octopus IO-Board offers the following features: 31 * Battery charger 32 * USB-C for power 34 * Alkaline battery input [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_pd.h | 3 * SPDX-License-Identifier: Apache-2.0 8 * @brief USB-C Power Delivery API used for USB-C drivers 31 * @brief Maximum length of a non-Extended Message in bytes. 32 * See Table 6-75 Value Parameters 39 * See Table 6-75 Value Parameters 51 * See Table 6-75 Value Parameters 57 * @name USB PD 3.1 Rev 1.6, Table 6-70 Counter Parameters 79 * @name USB PD 3.1 Rev 1.6, Table 6-68 Time Values 150 * See Table 6-61 Time Values 158 * See Table 6-61 Time Values [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max17262/ |
D | max17262.h | 4 * SPDX-License-Identifier: Apache-2.0 51 /* Current cell voltage in units of 1.25/16mV */ 53 /* Average current in units of 156.25uA */ 55 /* Desired charging current in mA */ 71 /* Battery capacity in mAh */ 85 /* Desired charging current in mA */ 87 /* Battery capacity in mAh */
|
/Zephyr-latest/drivers/fuel_gauge/max17048/ |
D | max17048.c | 1 /* max17048.c - Driver for max17048 battery fuel gauge */ 6 * SPDX-License-Identifier: Apache-2.0 40 /* True if battery chargin, false if discharging */ 52 const struct max17048_config *cfg = dev->config; in max17048_read_register() 53 int rc = i2c_write_read_dt(&cfg->i2c, ®isterId, sizeof(registerId), max17048_buffer, in max17048_read_register() 73 * Battery voltage 85 * https://www.analog.com/media/en/technical-documentation/data-sheets/ in max17048_voltage() 86 * MAX17048-MAX17049.pdf in max17048_voltage() 97 * Battery percentage still available 109 * https://www.analog.com/media/en/technical-documentation/data-she4ets/ in max17048_percent() [all …]
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | Kconfig.cts | 1 # Bluetooth GATT Battery service 4 # SPDX-License-Identifier: Apache-2.0 7 bool "GATT Current Time service"
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | adc.dtsi | 5 * 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/drivers/usb_c/ppc/ |
D | nxp_nx20p3483_priv.h | 3 * SPDX-License-Identifier: Apache-2.0 14 #include<zephyr/dt-bindings/usb-c/nxp_nx20p3483.h> 16 /** Register address - device id */ 23 /** Register address - device status */ 28 /** Value for dead battery mode */ 30 /** Value for high-voltage sink mode */ 34 /** Value for high-voltage source mode */ 39 /** Register address - switch control */ 44 /** Register address - switch status */ 53 /** Register address - interrupt1 */ [all …]
|