|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
LIFOs . More...
Functions | |
| void | test_lifo_thread2thread (void) |
| test thread to thread data passing via lifo | |
| void | test_lifo_thread2isr (void) |
| test isr to thread data passing via lifo | |
| void | test_lifo_isr2thread (void) |
| test thread to isr data passing via lifo | |
| void | test_lifo_get_fail (void) |
| Test LIFO get fail. | |
| void | test_lifo_loop (void) |
| Verify zephyr lifo continuous read write in loop. | |
| static void | test_thread_timeout_reply_values (void *p1, void *p2, void *p3) |
| try getting data on lifo with special timeout value, return result in lifo | |
| static void | test_thread_timeout_reply_values_wfe (void *p1, void *p2, void *p3) |
| static void | test_thread_put_timeout (void *p1, void *p2, void *p3) |
| A thread sleeps then puts data on the lifo. | |
| void | test_lifo_nowait (void) |
| Test last in, first out queue using LIFO. | |
| void | test_lifo_wait (void) |
| Test pending reader in LIFO. | |
| void | test_timeout_empty_lifo (void) |
| Test reading empty LIFO. | |
| void | test_timeout_non_empty_lifo (void) |
| Test read and write operation in LIFO with timeout. | |
| void | test_timeout_lifo_thread (void) |
| Test LIFO with timeout. | |
| void | test_thread_pend_and_timeout (void *p1, void *p2, void *p3) |
| a thread pends on a lifo then times out | |
| void | test_timeout_threads_pend_on_lifo (void) |
| Test multiple pending readers in LIFO. | |
| static void | test_para_init (void) |
| Test LIFO initialization with various parameters. | |
LIFOs .
| void test_lifo_get_fail | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_api/src/test_lifo_fail.c>
Test LIFO get fail.
verify zephyr k_lifo_get, it returns NULL when there is no data to read
TESTPOINT: lifo get returns NULL
| void test_lifo_isr2thread | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_api/src/test_lifo_contexts.c>
test thread to isr data passing via lifo
TESTPOINT: test k_lifo_init lifo
TESTPOINT: test K_LIFO_DEFINE lifo
| void test_lifo_loop | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_api/src/test_lifo_loop.c>
Verify zephyr lifo continuous read write in loop.
| void test_lifo_nowait | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test last in, first out queue using LIFO.
| void test_lifo_thread2isr | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_api/src/test_lifo_contexts.c>
test isr to thread data passing via lifo
TESTPOINT: init via k_lifo_init
TESTPOINT: test K_LIFO_DEFINEed lifo
| void test_lifo_thread2thread | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_api/src/test_lifo_contexts.c>
test thread to thread data passing via lifo
TESTPOINT: init via k_lifo_init
TESTPOINT: test K_LIFO_DEFINEed lifo
| void test_lifo_wait | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test pending reader in LIFO.
|
static |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test LIFO initialization with various parameters.
| void test_thread_pend_and_timeout | ( | void * | p1, |
| void * | p2, | ||
| void * | p3 ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
a thread pends on a lifo then times out
|
static |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
A thread sleeps then puts data on the lifo.
|
static |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
try getting data on lifo with special timeout value, return result in lifo
|
static |
| void test_timeout_empty_lifo | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test reading empty LIFO.
| void test_timeout_lifo_thread | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test LIFO with timeout.
| void test_timeout_non_empty_lifo | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test read and write operation in LIFO with timeout.
| void test_timeout_threads_pend_on_lifo | ( | void | ) |
#include </home/runner/work/safety-doc/zephyr/tests/kernel/lifo/lifo_usage/src/main.c>
Test multiple pending readers in LIFO.
test multiple threads pending on the same lifo with different timeouts