SatCat5
tick_timer.h
1 // Copyright 2024-2025 The Aerospace Corporation.
3 // This file is a part of SatCat5, licensed under CERN-OHL-W v2 or later.
5 // SatCat5 time reference using the FreeRTOS tick counter.
6 
7 #pragma once
8 
9 #include <satcat5/timeref.h>
10 #include <satcat5/polling.h>
11 
12 namespace satcat5 {
13  namespace freertos {
20  public:
23  TickTimer();
24 
26  u32 raw() override;
27  };
28  } // namespace freertos
29 } // namespace satcat5
SatCat5 time reference using the FreeRTOS tick counter.
Definition: tick_timer.h:19
u32 raw() override
Get FreeRTOS Tick Count.
Definition: tick_timer.cc:23
TickTimer()
Construct the TickTimer object.
Definition: tick_timer.cc:17
The TimeRef API provides access to a monotonic time-counter.
Definition: timeref.h:142
Core event-processing loop for SatCat5 software.
TimeRef and TimeVal define the API for monotonic timers.