|
| static void | duration_expire (struct k_timer *timer) |
| |
| static void | duration_stop (struct k_timer *timer) |
| |
| | K_TIMER_DEFINE (ktimer, duration_expire, duration_stop) |
| |
| void | test_time_conversions (void) |
| |
| static void | init_timer_data (void) |
| |
| static bool | interval_check (int64_t interval, int64_t desired) |
| |
| static void | period0_expire (struct k_timer *timer) |
| |
| static void | status_expire (struct k_timer *timer) |
| |
| static void | busy_wait_ms (int32_t ms) |
| |
| static void | status_stop (struct k_timer *timer) |
| |
| void | test_timer_duration_period (void) |
| | Test duration and period of Timer. More...
|
| |
| void | test_timer_restart (void) |
| | Test restart the timer. More...
|
| |
| void | test_timer_period_0 (void) |
| | Test Timer with zero period value. More...
|
| |
| void | test_timer_period_k_forever (void) |
| | Test Timer with K_FOREVER period value. More...
|
| |
| void | test_timer_expirefn_null (void) |
| | Test Timer without any timer expiry callback function. More...
|
| |
| static void | tick_sync (void) |
| |
| void | test_timer_periodicity (void) |
| | Test to check timer periodicity. More...
|
| |
| void | test_timer_status_get (void) |
| | Test Timer status and time remaining before next expiry. More...
|
| |
| void | test_timer_status_get_anytime (void) |
| | Test Timer status randomly after certain duration. More...
|
| |
| void | test_timer_status_sync (void) |
| | Test Timer thread synchronization. More...
|
| |
| void | test_timer_k_define (void) |
| | Test statically defined Timer init. More...
|
| |
| static void | user_data_timer_handler (struct k_timer *timer) |
| |
| | K_TIMER_DEFINE (timer0, user_data_timer_handler, NULL) |
| |
| | K_TIMER_DEFINE (timer1, user_data_timer_handler, NULL) |
| |
| | K_TIMER_DEFINE (timer2, user_data_timer_handler, NULL) |
| |
| | K_TIMER_DEFINE (timer3, user_data_timer_handler, NULL) |
| |
| | K_TIMER_DEFINE (timer4, user_data_timer_handler, NULL) |
| |
| void | test_timer_user_data (void) |
| | Test user-specific data associated with timer. More...
|
| |
| void | test_timer_remaining (void) |
| | Test accuracy of k_timer_remaining_get() More...
|
| |
| void | test_timeout_abs (void) |
| |
| void | test_sleep_abs (void) |
| |
| static void | timer_init (struct k_timer *timer, k_timer_expiry_t expiry_fn, k_timer_stop_t stop_fn) |
| |
| void | test_main (void) |
| |