Polled timers
Polled interval timers. More...
Collaboration diagram for Polled timers:
Namespaces | |
PolledTimer | |
Detailed Description
Polled interval timers.
Macro Definition Documentation
◆ POLLED_TIMER_MARGIN_US
#define POLLED_TIMER_MARGIN_US 250000 |
Timer intervals are limited to the maximum clock time, minus this safety margin.
- Note
- Specified in microseconds, this is the minimum timer poll interval to ensure no missed polls across the full timer range. Larger margin means smaller time range.
Typedef Documentation
◆ CpuCycleTimer
◆ CpuCycleTimerFast
◆ ElapseTimer
using ElapseTimer = OneShotFastUs |
◆ OneShotCpuCycleTimer
template<NanoTime::Unit units>
using OneShotCpuCycleTimer = PolledTimer::OneShot<CpuCycleClockNormal, units> |
◆ OneShotCpuCycleTimerFast
template<NanoTime::Unit units>
using OneShotCpuCycleTimerFast = PolledTimer::OneShot<CpuCycleClockFast, units> |
◆ OneShotElapseTimer
template<NanoTime::Unit unit>
using OneShotElapseTimer = PolledTimer::OneShot<Timer2Clock, unit> |
◆ OneShotFastMs
◆ oneShotFastMs
typedef OneShotFastMs oneShotFastMs |
◆ OneShotFastUs
◆ oneShotFastUs
typedef OneShotFastUs oneShotFastUs |
◆ PeriodicCpuCycleTimer
template<NanoTime::Unit units>
using PeriodicCpuCycleTimer = PolledTimer::Periodic<CpuCycleClockNormal, units> |
◆ PeriodicCpuCycleTimerFast
template<NanoTime::Unit units>
using PeriodicCpuCycleTimerFast = PolledTimer::Periodic<CpuCycleClockFast, units> |
◆ PeriodicElapseTimer
template<NanoTime::Unit unit>
using PeriodicElapseTimer = PolledTimer::Periodic<Timer2Clock, unit> |