Zephyr API Documentation
4.2.0-rc3
A Scalable Open Source RTOS
4.2.0-rc3
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
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
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
barrier.h
Go to the documentation of this file.
1
6
#ifndef ZEPHYR_INCLUDE_BARRIER_ARM_H_
7
#define ZEPHYR_INCLUDE_BARRIER_ARM_H_
8
9
#ifndef ZEPHYR_INCLUDE_SYS_BARRIER_H_
10
#error Please include <zephyr/sys/barrier.h>
11
#endif
12
13
#include <cmsis_core.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
static
ALWAYS_INLINE
void
z_barrier_dmem_fence_full(
void
)
20
{
21
__DMB();
22
}
23
24
static
ALWAYS_INLINE
void
z_barrier_dsync_fence_full(
void
)
25
{
26
__DSB();
27
}
28
29
static
ALWAYS_INLINE
void
z_barrier_isync_fence_full(
void
)
30
{
31
__ISB();
32
}
33
34
#ifdef __cplusplus
35
}
36
#endif
37
38
#endif
/* ZEPHYR_INCLUDE_BARRIER_ARM_H_ */
ALWAYS_INLINE
#define ALWAYS_INLINE
Definition
common.h:160
zephyr
arch
arm
barrier.h
Generated on
for Zephyr API Documentation by
1.14.0