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
misc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014 Wind River Systems, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
14
#ifndef ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
15
#define ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#ifndef _ASMLANGUAGE
22
extern
unsigned
int
z_arc_cpu_sleep_mode;
23
24
extern
uint32_t
sys_clock_cycle_get_32
(
void
);
25
26
static
inline
uint32_t
arch_k_cycle_get_32
(
void
)
27
{
28
return
sys_clock_cycle_get_32
();
29
}
26
static
inline
uint32_t
arch_k_cycle_get_32
(
void
) {
…
}
30
31
extern
uint64_t
sys_clock_cycle_get_64
(
void
);
32
33
static
inline
uint64_t
arch_k_cycle_get_64
(
void
)
34
{
35
return
sys_clock_cycle_get_64
();
36
}
33
static
inline
uint64_t
arch_k_cycle_get_64
(
void
) {
…
}
37
#endif
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_ */
sys_clock_cycle_get_64
uint64_t sys_clock_cycle_get_64(void)
sys_clock_cycle_get_32
uint32_t sys_clock_cycle_get_32(void)
arch_k_cycle_get_32
static uint32_t arch_k_cycle_get_32(void)
Definition
misc.h:26
arch_k_cycle_get_64
static uint64_t arch_k_cycle_get_64(void)
Definition
misc.h:33
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
uint64_t
__UINT64_TYPE__ uint64_t
Definition
stdint.h:91
zephyr
arch
arc
v2
misc.h
Generated on Mon Mar 17 2025 00:05:48 for Zephyr API Documentation by
1.12.0