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
cmsis.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
14
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
15
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
16
17
#include <soc.h>
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#ifndef __CR_REV
24
#define __CR_REV 0U
25
#endif
26
27
#ifndef __CA_REV
28
#define __CA_REV 0U
29
#endif
30
31
#ifndef __FPU_PRESENT
32
#define __FPU_PRESENT CONFIG_CPU_HAS_FPU
33
#endif
34
35
#ifndef __MMU_PRESENT
36
#define __MMU_PRESENT CONFIG_CPU_HAS_MMU
37
#endif
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#if defined(CONFIG_CPU_CORTEX_R4)
44
#include <core_cr4.h>
45
#elif defined(CONFIG_CPU_CORTEX_R5)
46
#include <core_cr5.h>
47
#elif defined(CONFIG_CPU_CORTEX_R7)
48
#include <core_cr7.h>
49
#elif defined(CONFIG_CPU_AARCH32_CORTEX_A)
50
/*
51
* Any defines relevant for the proper inclusion of CMSIS' Cortex-A
52
* Common Peripheral Access Layer (such as __CORTEX_A) which are not
53
* covered by the Kconfig-based default assignments above must be
54
* provided by each aarch32 Cortex-A SoC's header file (already in-
55
* cluded above).
56
*/
57
#include <core_ca.h>
58
#else
59
#error "Unknown device"
60
#endif
61
62
#include <
arch/arm/aarch32/cortex_a_r/cmsis_ext.h
>
63
64
#endif
/* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_ */
cmsis_ext.h
CMSIS extension.
include
arch
arm
aarch32
cortex_a_r
cmsis.h
Generated on Mon Feb 21 2022 22:43:01 for Zephyr API Documentation by
1.9.2