Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Data Structures | |
struct | fdata_t |
Macros | |
#define | STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE) |
#define | LIST_LEN 4 |
Functions | |
static | K_FIFO_DEFINE (fifo1) |
static | K_FIFO_DEFINE (fifo2) |
static | K_THREAD_STACK_DEFINE (tstack,(1024+CONFIG_TEST_EXTRA_STACK_SIZE)) |
static void | tIsr_entry_put (const void *p) |
static void | tIsr_entry_get (const void *p) |
static void | thread_entry_fn_single (void *p1, void *p2, void *p3) |
static void | thread_entry_fn_dual (void *p1, void *p2, void *p3) |
static void | thread_entry_fn_isr (void *p1, void *p2, void *p3) |
ZTEST (fifo_usage, test_single_fifo_play) | |
Tests single fifo get and put operation in thread context. | |
ZTEST (fifo_usage, test_dual_fifo_play) | |
Tests dual fifo get and put operation in thread context. | |
ZTEST (fifo_usage, test_isr_fifo_play) | |
Tests fifo put and get operation in interrupt context. | |
ZTEST_SUITE (fifo_usage, NULL, NULL, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) | |
Variables | |
static struct fdata_t | data1 [4] |
static struct fdata_t | data2 [4] |
static struct fdata_t | data_isr [4] |
static struct k_thread | tdata |
static struct k_sem | end_sema |
#define LIST_LEN 4 |
#define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
ZTEST_SUITE | ( | fifo_usage | , |
NULL | , | ||
NULL | , | ||
ztest_simple_1cpu_before | , | ||
ztest_simple_1cpu_after | , | ||
NULL | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |