Struct systick_monotonic::Systick [−][src]
pub struct Systick<const TIMER_HZ: u32> { /* fields omitted */ }
Expand description
Systick implementing rtic_monotonic::Monotonic
which runs at a
settable rate using the TIMER_HZ
parameter.
Implementations
Trait Implementations
This tells RTIC if it should disable the interrupt bound to the monotonic if there are no
scheduled tasks. One may want to set this to false
if one is using the on_interrupt
method to perform housekeeping and need overflow interrupts to happen, such as when
extending a 16 bit timer to 32/64 bits, even if there are no scheduled tasks. Read more
type Instant = TimerInstantU64<TIMER_HZ>
type Instant = TimerInstantU64<TIMER_HZ>
The type for instant, defining an instant in time. Read more
type Duration = TimerDurationU64<TIMER_HZ>
type Duration = TimerDurationU64<TIMER_HZ>
The type for duration, defining an duration of time. Read more
Optionally resets the counter to zero for a fixed baseline in a system. Read more
Set the compare value of the timer interrupt.
Clear the compare interrupt flag.
The time at time zero. Used by RTIC before the monotonic has been initialized.
Optional. Commonly used for performing housekeeping of a timer when it has been extended, e.g. a 16 bit timer extended to 32/64 bits. This will be called at the end of the interrupt handler after all other operations have finished. Read more
Optional. This is used to save power, this is called when the Monotonic interrupt is enabled. Read more
Optional. This is used to save power, this is called when the Monotonic interrupt is disabled. Read more