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
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
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
modules
►
subsys
▼
zephyr
►
acpi
►
app_memory
▼
arch
►
arc
▼
arm
▼
cortex_a_r
►
armv7_v8_timer.h
►
cpu.h
►
exception.h
►
lib_helpers.h
►
mpu.h
►
sys_io.h
timer.h
►
tpidruro.h
►
cortex_m
►
mmu
►
mpu
►
arch.h
►
arch_inlines.h
asm_inline.h
►
asm_inline_gcc.h
barrier.h
error.h
exception.h
►
gdbstub.h
►
irq.h
►
misc.h
nmi.h
structs.h
►
syscall.h
thread.h
►
arm64
►
common
►
mips
►
posix
►
riscv
►
rx
►
sparc
►
x86
►
xtensa
arch_inlines.h
►
arch_interface.h
►
cache.h
cpu.h
exception.h
structs.h
syscall.h
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
pmci
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
virtio
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
mpu.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: Apache-2.0
2
*
3
* Copyright (c) 2019 Lexmark International, Inc.
4
*/
5
#ifndef ARCH_ARM_CORTEX_R_MPU_H
6
#define ARCH_ARM_CORTEX_R_MPU_H 1
7
8
#define MPU_RBAR_ADDR_Msk (~0x1f)
9
#define MPU_RASR_ENABLE_Msk (1)
10
11
#define MPU_RASR_SIZE_Pos 1U
12
#define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos)
13
14
#define MPU_TYPE_DREGION_Pos 8U
15
#define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos)
16
17
#define MPU_RASR_XN_Pos 12
18
#define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos)
19
20
#define MPU_RASR_AP_Pos 8
21
#define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos)
22
23
#define MPU_RASR_TEX_Pos 3
24
#define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos)
25
26
#define MPU_RASR_S_Pos 2
27
#define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos)
28
29
#define MPU_RASR_C_Pos 1
30
#define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos)
31
32
#define MPU_RASR_B_Pos 0
33
#define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos)
34
35
#if defined(CONFIG_CPU_CORTEX_R4) || defined(CONFIG_CPU_CORTEX_R5) || defined(CONFIG_CPU_CORTEX_R8)
36
#define ARM_MPU_REGION_SIZE_32B ((uint8_t)0x04U)
37
#define ARM_MPU_REGION_SIZE_64B ((uint8_t)0x05U)
38
#define ARM_MPU_REGION_SIZE_128B ((uint8_t)0x06U)
39
#endif
40
41
#define ARM_MPU_REGION_SIZE_256B ((uint8_t)0x07U)
42
#define ARM_MPU_REGION_SIZE_512B ((uint8_t)0x08U)
43
#define ARM_MPU_REGION_SIZE_1KB ((uint8_t)0x09U)
44
#define ARM_MPU_REGION_SIZE_2KB ((uint8_t)0x0aU)
45
#define ARM_MPU_REGION_SIZE_4KB ((uint8_t)0x0bU)
46
#define ARM_MPU_REGION_SIZE_8KB ((uint8_t)0x0cU)
47
#define ARM_MPU_REGION_SIZE_16KB ((uint8_t)0x0dU)
48
#define ARM_MPU_REGION_SIZE_32KB ((uint8_t)0x0eU)
49
#define ARM_MPU_REGION_SIZE_64KB ((uint8_t)0x0fU)
50
#define ARM_MPU_REGION_SIZE_128KB ((uint8_t)0x10U)
51
#define ARM_MPU_REGION_SIZE_256KB ((uint8_t)0x11U)
52
#define ARM_MPU_REGION_SIZE_512KB ((uint8_t)0x12U)
53
#define ARM_MPU_REGION_SIZE_1MB ((uint8_t)0x13U)
54
#define ARM_MPU_REGION_SIZE_2MB ((uint8_t)0x14U)
55
#define ARM_MPU_REGION_SIZE_4MB ((uint8_t)0x15U)
56
#define ARM_MPU_REGION_SIZE_8MB ((uint8_t)0x16U)
57
#define ARM_MPU_REGION_SIZE_16MB ((uint8_t)0x17U)
58
#define ARM_MPU_REGION_SIZE_32MB ((uint8_t)0x18U)
59
#define ARM_MPU_REGION_SIZE_64MB ((uint8_t)0x19U)
60
#define ARM_MPU_REGION_SIZE_128MB ((uint8_t)0x1aU)
61
#define ARM_MPU_REGION_SIZE_256MB ((uint8_t)0x1bU)
62
#define ARM_MPU_REGION_SIZE_512MB ((uint8_t)0x1cU)
63
#define ARM_MPU_REGION_SIZE_1GB ((uint8_t)0x1dU)
64
#define ARM_MPU_REGION_SIZE_2GB ((uint8_t)0x1eU)
65
#define ARM_MPU_REGION_SIZE_4GB ((uint8_t)0x1fU)
66
67
#endif
zephyr
arch
arm
cortex_a_r
mpu.h
Generated on Wed Jun 4 2025 00:07:12 for Zephyr API Documentation by
1.12.0