Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
▼
dt-bindings
►
acpi
►
adc
▼
battery
►
battery.h
►
clock
►
comparator
►
dac
►
dai
►
display
►
dma
►
espi
►
ethernet
►
flash_controller
►
gnss
►
gpio
►
i2c
►
input
►
inputmux
►
interrupt-controller
►
ipc_service
►
led
►
lora
►
lvgl
►
memory-attr
►
memory-controller
►
mfd
►
mipi_dbi
►
mipi_dsi
►
misc
►
pcie
►
pinctrl
►
power
►
pwm
►
qspi
►
rdc
►
regulator
►
reserved-memory
►
reset
►
sensor
►
spi
►
timer
►
usb
►
usb-c
►
video
dt-util.h
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
pmci
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
battery.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 Embeint Inc
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*
6
* The following open-circuit voltage curves have been extracted from the datasheets of the
7
* listed battery parts. They will not be 100% correct for all batteries of the chemistry,
8
* but should provide a good baseline. These curves will also be affected by ambient temperature
9
* and discharge current.
10
*
11
* Each curve is 11 elements representing the OCV voltage in microvolts for each charge percentage
12
* from 0% to 100% inclusive in 10% increments.
13
*/
14
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_
15
#define ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_
16
17
/* Panasonic KR-1800SCE */
18
#define BATTERY_OCV_CURVE_NICKEL_CADMIUM_DEFAULT \
19
800000 1175000 1207000 1217000 1221000 1226000 1233000 1245000 1266000 1299000 1366000
18
#define BATTERY_OCV_CURVE_NICKEL_CADMIUM_DEFAULT \
…
20
21
/* Panasonic BK-1100FHU */
22
#define BATTERY_OCV_CURVE_NICKEL_METAL_HYDRIDE_DEFAULT \
23
1004000 1194000 1231000 1244000 1254000 1257000 1263000 1266000 1274000 1315000 1420000
22
#define BATTERY_OCV_CURVE_NICKEL_METAL_HYDRIDE_DEFAULT \
…
24
25
/* Panasonic NCR18650BF */
26
#define BATTERY_OCV_CURVE_LITHIUM_ION_POLYMER_DEFAULT \
27
2502000 3146000 3372000 3449000 3532000 3602000 3680000 3764000 3842000 3936000 4032000
26
#define BATTERY_OCV_CURVE_LITHIUM_ION_POLYMER_DEFAULT \
…
28
29
/* Drypower IFR18650 E1600 */
30
#define BATTERY_OCV_CURVE_LITHIUM_IRON_PHOSPHATE_DEFAULT \
31
2013000 3068000 3159000 3194000 3210000 3221000 3229000 3246000 3256000 3262000 3348000
30
#define BATTERY_OCV_CURVE_LITHIUM_IRON_PHOSPHATE_DEFAULT \
…
32
33
/* FDK CR14250SE */
34
#define BATTERY_OCV_CURVE_LITHIUM_MANGANESE_DEFAULT \
35
1906000 2444000 2689000 2812000 2882000 2927000 2949000 2955000 2962000 2960000 2985000
34
#define BATTERY_OCV_CURVE_LITHIUM_MANGANESE_DEFAULT \
…
36
37
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_ */
zephyr
dt-bindings
battery
battery.h
Generated on Fri May 23 2025 06:06:54 for Zephyr API Documentation by
1.12.0