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
test_msgq.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-2016 Intel Corporation.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef __TEST_MSGQ_H__
8
#define __TEST_MSGQ_H__
9
10
#include <zephyr.h>
11
#include <
irq_offload.h
>
12
#include <
ztest.h
>
13
#include <
limits.h
>
14
15
#define TIMEOUT_MS 100
16
#define TIMEOUT K_MSEC(TIMEOUT_MS)
17
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE)
18
#define MSG_SIZE 4
19
#define MSGQ_LEN 2
20
#define MSG0 0xABCD
21
#define MSG1 0x1234
22
#define OVERFLOW_SIZE_MSG SIZE_MAX
23
#endif
/* __TEST_MSGQ_H__ */
irq_offload.h
IRQ Offload interface.
limits.h
ztest.h
Zephyr Testsuite.
tests
kernel
msgq
msgq_api
src
test_msgq.h
Generated on Mon Feb 21 2022 22:43:02 for Zephyr API Documentation by
1.9.2