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
q
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
•
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 Mar 14 2025 12:05:19 for Zephyr API Documentation by
1.12.0