|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
#include <zephyr/ztest.h>Data Structures | |
| struct | timer_data |
Macros | |
| #define | ALIGN_MS_BOUNDARY |
| #define | DURATION 100 |
| #define | LESS_DURATION 70 |
Functions | |
| static void | duration_expire (struct k_timer *timer) |
| static void | stop_expire (struct k_timer *timer) |
| K_TIMER_DEFINE (ktimer, duration_expire, stop_expire) | |
| TESTPOINT: init timer via K_TIMER_DEFINE. | |
| void | test_clock_uptime (void) |
| Test clock uptime APIs functionality. | |
| void | test_clock_cycle_32 (void) |
| Test 32-bit clock cycle functionality. | |
| void | test_clock_cycle_64 (void) |
| Test 64-bit clock cycle functionality. | |
| static void | init_data_count (void) |
| void | test_ms_time_duration (void) |
| Test millisecond time duration. | |
| void * | common_setup (void) |
| ZTEST_SUITE (clock, NULL, common_setup, NULL, NULL, NULL) | |
Variables | |
| static ZTEST_BMEM struct timer_data | tdata |
| #define ALIGN_MS_BOUNDARY |
| #define DURATION 100 |
| #define LESS_DURATION 70 |
|
extern |
| K_TIMER_DEFINE | ( | ktimer | , |
| duration_expire | , | ||
| stop_expire | ) |
TESTPOINT: init timer via K_TIMER_DEFINE.
| ZTEST_SUITE | ( | clock | , |
| NULL | , | ||
| common_setup | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | ) |
|
static |