Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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 interface.
Zephyr Testsuite.