Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include "test_lifo.h"
Macros | |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
#define | LIST_LEN 4 |
#define | LOOPS 32 |
Functions | |
static | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
static void | tlifo_put (struct k_lifo *plifo) |
static void | tlifo_get (struct k_lifo *plifo) |
static void | tIsr_entry (const void *p) |
static void | tThread_entry (void *p1, void *p2, void *p3) |
static void | tlifo_read_write (struct k_lifo *plifo) |
ZTEST (lifo_loop, test_lifo_loop) | |
Verify zephyr lifo continuous read write in loop. | |
ZTEST_SUITE (lifo_loop, NULL, NULL, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL) | |
Variables | |
static ldata_t | data [4] |
static struct k_lifo | lifo |
static struct k_thread | tdata |
static struct k_sem | end_sema |
#define LIST_LEN 4 |
#define LOOPS 32 |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
|
static |
|
static |
|
static |
TESTPOINT: lifo get
|
static |
TESTPOINT: lifo put
|
static |
TESTPOINT: thread-isr-thread data passing via lifo
|
static |
ZTEST_SUITE | ( | lifo_loop | , |
NULL | , | ||
NULL | , | ||
ztest_simple_1cpu_before | , | ||
ztest_simple_1cpu_after | , | ||
NULL | |||
) |
|
static |
|
static |
|
static |
|
static |