Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include "test_lifo.h"
Macros | |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define | LIST_LEN 2 |
Functions | |
K_LIFO_DEFINE (klifo) | |
static | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
static void | tlifo_put (struct k_lifo *plifo) |
static void | tlifo_get (struct k_lifo *plifo) |
static void | tIsr_entry_put (const void *p) |
static void | tIsr_entry_get (const void *p) |
static void | tThread_entry (void *p1, void *p2, void *p3) |
static void | tlifo_thread_thread (struct k_lifo *plifo) |
static void | tlifo_thread_isr (struct k_lifo *plifo) |
static void | tlifo_isr_thread (struct k_lifo *plifo) |
void | test_lifo_thread2thread (void) |
test thread to thread data passing via lifo More... | |
void | test_lifo_thread2isr (void) |
test isr to thread data passing via lifo More... | |
void | test_lifo_isr2thread (void) |
test thread to isr data passing via lifo More... | |
Variables | |
struct k_lifo | lifo |
static ldata_t | data [2] |
static struct k_thread | tdata |
static struct k_sem | end_sema |
#define LIST_LEN 2 |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
K_LIFO_DEFINE | ( | klifo | ) |
TESTPOINT: init via K_LIFO_DEFINE
|
static |
TESTPOINT: isr-thread data passing via lifo
TESTPOINT: thread-isr data passing via lifo
TESTPOINT: thread-thread data passing via lifo
|
static |
|
static |
struct k_lifo lifo |
|
static |