Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
3.5.0
Toggle main menu visibility
Main Page
Related Pages
Modules
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
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
pm_s2ram.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022, Carlo Caione <ccaione@baylibre.com>
3
*/
4
14
#ifndef ZEPHYR_INCLUDE_ARCH_COMMON_PM_S2RAM_H_
15
#define ZEPHYR_INCLUDE_ARCH_COMMON_PM_S2RAM_H_
16
17
#ifdef _ASMLANGUAGE
18
GTEXT(
arch_pm_s2ram_suspend
);
19
#else
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
39
typedef
int (*
pm_s2ram_system_off_fn_t
)(void);
40
58
int
arch_pm_s2ram_suspend
(
pm_s2ram_system_off_fn_t
system_off);
59
64
#ifdef __cplusplus
65
}
66
#endif
67
68
#endif
/* _ASMLANGUAGE */
69
70
#endif
/* ZEPHYR_INCLUDE_ARCH_COMMON_PM_S2RAM_H_ */
pm_s2ram_system_off_fn_t
int(* pm_s2ram_system_off_fn_t)(void)
System off function.
Definition:
pm_s2ram.h:39
arch_pm_s2ram_suspend
int arch_pm_s2ram_suspend(pm_s2ram_system_off_fn_t system_off)
Save CPU context on suspend.
zephyr
arch
common
pm_s2ram.h
Generated on Fri Oct 20 2023 10:27:11 for Zephyr API Documentation by
1.9.6