Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
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
}
30
#endif
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* ZEPHYR_INCLUDE_ARCH_ARC_V2_MISC_H_ */
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
uint32_t
__UINT32_TYPE__ uint32_t
Definition:
stdint.h:60
include
arch
arc
v2
misc.h
Generated on Sun Oct 9 2022 09:21:56 for Zephyr API Documentation by
1.9.4