SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk_timer_info_t Struct Reference

Consistent snapshot of a timer, see stk_timer_query_sync(). More...

#include <stk_c_time.h>

Collaboration diagram for stk_timer_info_t:

Public Attributes

bool active
 true if the timer is active.
uint32_t remaining
 Ticks until the next expiration, 0 if not active or overdue.
uint32_t delay
 Initial delay stored by the last start / restart / change.
uint32_t period
 Reload period in ticks, 0 for a one-shot timer.

Detailed Description

Consistent snapshot of a timer, see stk_timer_query_sync().

Definition at line 391 of file stk_c_time.h.

Member Data Documentation

◆ active

bool stk_timer_info_t::active

true if the timer is active.

Definition at line 392 of file stk_c_time.h.

Referenced by stk_timer_query_sync().

◆ delay

uint32_t stk_timer_info_t::delay

Initial delay stored by the last start / restart / change.

Definition at line 394 of file stk_c_time.h.

Referenced by stk_timer_query_sync().

◆ period

uint32_t stk_timer_info_t::period

Reload period in ticks, 0 for a one-shot timer.

Definition at line 395 of file stk_c_time.h.

Referenced by stk_timer_query_sync().

◆ remaining

uint32_t stk_timer_info_t::remaining

Ticks until the next expiration, 0 if not active or overdue.

Definition at line 393 of file stk_c_time.h.

Referenced by stk_timer_query_sync().


The documentation for this struct was generated from the following file: