11 #include <hal_samv71/interrupt_handler.h>
27 const u32 cpu_freq_hz,
28 const u32 tick_rate_hz);
45 unsigned int m_tick_num = 0;
ConfigBus core definitions.
An "OnDemand" object is polled only on request.
Interrupt handler interface for the Microchip SAM V71.
Microchip SAM V71 implementation of the "TimeRef" API.
u32 raw() override
Get raw tick-count,.
void irq_event() override
Method called whenever an interrupt is triggered.
SysTickTimer(const u32 cpu_freq_hz, const u32 tick_rate_hz)
Constructor requires the CPU frequency and timer tick-rate.
void timer_callback(satcat5::poll::OnDemand *callback)
Set callback for timer events.
The TimeRef API provides access to a monotonic time-counter.
TimeRef and TimeVal define the API for monotonic timers.