Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.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
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
y
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
y
z
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
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
Enumerator
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
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
policy.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Intel Corporation.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_PM_POLICY_H_
8
#define ZEPHYR_INCLUDE_PM_POLICY_H_
9
10
#include <
stdint.h
>
11
#include <
pm/state.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
32
const
struct
pm_state_info
*
pm_policy_next_state
(
uint8_t
cpu,
int32_t
ticks);
33
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* ZEPHYR_INCLUDE_PM_POLICY_H_ */
pm_policy_next_state
const struct pm_state_info * pm_policy_next_state(uint8_t cpu, int32_t ticks)
Definition:
main.c:26
state.h
stdint.h
int32_t
__INT32_TYPE__ int32_t
Definition:
stdint.h:44
uint8_t
__UINT8_TYPE__ uint8_t
Definition:
stdint.h:58
pm_state_info
Definition:
state.h:114
include
pm
policy.h
Generated on Mon Feb 21 2022 22:43:02 for Zephyr API Documentation by
1.9.2