![]() |
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
POD command record passed from the public API methods to the tick task via the command queue. More...
Public Types | |
| enum | EId : uint8_t { CMD_SHUTDOWN = 0 , CMD_START , CMD_STOP , CMD_RESET , CMD_RESTART , CMD_START_OR_RESET , CMD_SET_PERIOD } |
| Identifies the operation to perform on the target timer. More... | |
Public Attributes | |
| EId | cmd |
| command id | |
| Timer * | timer |
| timer instance | |
| Ticks | timestamp |
| hw tick count captured at call site | |
| uint32_t | delay |
| initial delay ticks (CMD_START / CMD_RESTART / CMD_START_OR_RESET) | |
| uint32_t | period |
| reload period ticks (CMD_START / CMD_RESTART / CMD_START_OR_RESET / CMD_SET_PERIOD) | |
POD command record passed from the public API methods to the tick task via the command queue.
Each command encodes a single operation together with the timer pointer, a call-site timestamp, and optional delay/period arguments. Commands are produced by the public API (Start, Stop, Reset, …) and consumed exclusively by the tick task inside ProcessCommands().
Definition at line 394 of file stk_time_timer.h.
| enum stk::time::TimerHost::TimerCommand::EId : uint8_t |
Identifies the operation to perform on the target timer.
Definition at line 399 of file stk_time_timer.h.
| EId stk::time::TimerHost::TimerCommand::cmd |
command id
Definition at line 410 of file stk_time_timer.h.
Referenced by stk::time::TimerHost::ProcessCommands(), and stk::time::TimerHost::PushCommand().
| uint32_t stk::time::TimerHost::TimerCommand::delay |
initial delay ticks (CMD_START / CMD_RESTART / CMD_START_OR_RESET)
Definition at line 413 of file stk_time_timer.h.
Referenced by stk::time::TimerHost::ProcessCommands().
| uint32_t stk::time::TimerHost::TimerCommand::period |
reload period ticks (CMD_START / CMD_RESTART / CMD_START_OR_RESET / CMD_SET_PERIOD)
Definition at line 414 of file stk_time_timer.h.
Referenced by stk::time::TimerHost::ProcessCommands().
| Timer* stk::time::TimerHost::TimerCommand::timer |
timer instance
Definition at line 411 of file stk_time_timer.h.
Referenced by stk::time::TimerHost::ProcessCommands(), and stk::time::TimerHost::PushCommand().
| Ticks stk::time::TimerHost::TimerCommand::timestamp |
hw tick count captured at call site
Definition at line 412 of file stk_time_timer.h.
Referenced by stk::time::TimerHost::ProcessCommands().