|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
#include <stdint.h>#include <zephyr/kernel.h>#include <zephyr/ztest.h>#include <zephyr/random/random.h>#include <zephyr/logging/log.h>Macros | |
| #define | DUMMY_DATA_SIZE 16 |
Functions | |
| LOG_MODULE_REGISTER (k_pipe_concurrency, LOG_LEVEL_DBG) | |
| ZTEST_SUITE (k_pipe_concurrency, NULL, NULL, NULL, NULL, NULL) | |
| static | K_THREAD_STACK_DEFINE (stack, 1024) |
| static void | thread_close (void *arg1, void *arg2, void *arg3) |
| static void | thread_reset (void *arg1, void *arg2, void *arg3) |
| static void | thread_write (void *arg1, void *arg2, void *arg3) |
| static void | thread_read (void *arg1, void *arg2, void *arg3) |
| void | test_close_on_read (void) |
| void | test_close_on_write (void) |
| void | test_reset_on_read (void) |
| void | test_reset_on_write (void) |
| void | test_partial_read (void) |
| void | test_partial_write (void) |
Variables | |
| static const int | partial_wait_time = 2000 |
| static struct k_thread | thread |
| static struct k_pipe | pipe |
| #define DUMMY_DATA_SIZE 16 |
|
static |
| LOG_MODULE_REGISTER | ( | k_pipe_concurrency | , |
| LOG_LEVEL_DBG | ) |
| void test_close_on_read | ( | void | ) |
| void test_close_on_write | ( | void | ) |
| void test_partial_read | ( | void | ) |
| void test_partial_write | ( | void | ) |
| void test_reset_on_read | ( | void | ) |
| void test_reset_on_write | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |