Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <ztest.h>
Data Structures | |
struct | pipe_sequence |
Macros | |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define | PIPE_SIZE (256) |
#define | TOTAL_ELEMENTS (sizeof(single_elements) / sizeof(struct pipe_sequence)) |
#define | TOTAL_WAIT_ELEMENTS |
#define | TOTAL_TIMEOUT_ELEMENTS |
#define | NO_CONSTRAINT (0U) |
#define | ATLEAST_1 (1U) |
#define | ALL_BYTES (sizeof(tx_buffer)) |
#define | RETURN_SUCCESS (0) |
#define | TIMEOUT_VAL (K_MSEC(10)) |
#define | TIMEOUT_200MSEC (K_MSEC(200)) |
Variables | |
ZTEST_BMEM uint8_t | tx_buffer [(256)+1] |
ZTEST_BMEM uint8_t | rx_buffer [(256)+1] |
static const struct pipe_sequence | single_elements [] |
static const struct pipe_sequence | multiple_elements [] |
static const struct pipe_sequence | wait_elements [] |
static const struct pipe_sequence | timeout_elements [] |
struct k_thread | get_single_tid |
ZTEST_BMEM bool | valid_fault |
#define ALL_BYTES (sizeof(tx_buffer)) |
#define ATLEAST_1 (1U) |
#define NO_CONSTRAINT (0U) |
#define PIPE_SIZE (256) |
#define RETURN_SUCCESS (0) |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define TIMEOUT_200MSEC (K_MSEC(200)) |
#define TIMEOUT_VAL (K_MSEC(10)) |
#define TOTAL_ELEMENTS (sizeof(single_elements) / sizeof(struct pipe_sequence)) |
#define TOTAL_TIMEOUT_ELEMENTS |
#define TOTAL_WAIT_ELEMENTS |
K_PIPE_DEFINE | ( | test_pipe | , |
256 | , | ||
4 | |||
) |
Define and initialize test_pipe at compile time.
K_SEM_DEFINE | ( | get_sem | , |
0 | , | ||
1 | |||
) |
K_SEM_DEFINE | ( | multiple_send_sem | , |
0 | , | ||
1 | |||
) |
K_SEM_DEFINE | ( | put_sem | , |
1 | , | ||
1 | |||
) |
K_SEM_DEFINE | ( | sync_sem | , |
0 | , | ||
1 | |||
) |
K_THREAD_STACK_DEFINE | ( | stack_1 | , |
(512+CONFIG_TEST_EXTRA_STACKSIZE) | |||
) |
struct k_thread get_single_tid |
|
static |
ZTEST_BMEM uint8_t rx_buffer[(256)+1] |
|
static |
|
static |
ZTEST_BMEM uint8_t tx_buffer[(256)+1] |
ZTEST_BMEM bool valid_fault |
|
static |