Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
#include <ztest.h>
Functions | |
void | test_k_event_init (void) |
void | test_event_deliver (void) |
void | test_event_receive (void) |
void | test_main (void) |
void test_event_deliver | ( | void | ) |
Test basic k_event_post() and k_event_set() APIs.
Tests the basic k_event_post() and k_event_set() APIs. This does not involve waking or receiving events.
void test_event_receive | ( | void | ) |
Test delivery and reception of events.
Testing both the delivery and reception of events involves the use of multiple threads and uses the following event related APIs: k_event_post(), k_event_set(), k_event_wait() and k_event_wait_all().
void test_k_event_init | ( | void | ) |
Test the k_event_init() API.
This is a white-box test to verify that the k_event_init() API initializes the fields of a k_event structure as expected.
void test_main | ( | void | ) |