Struct rtic_monotonics::nrf::rtc::Rtc0Backend
source · pub struct Rtc0Backend;
Expand description
RTC based TimerQueueBackend
.
Implementations§
Trait Implementations§
source§impl TimerQueueBackend for Rtc0Backend
impl TimerQueueBackend for Rtc0Backend
source§fn on_interrupt()
fn on_interrupt()
Optional. Runs on interrupt before any timer queue handling.
source§fn set_compare(instant: Self::Ticks)
fn set_compare(instant: Self::Ticks)
Set the compare value of the timer interrupt. Read more
source§fn clear_compare_flag()
fn clear_compare_flag()
Clear the compare interrupt flag.
source§fn pend_interrupt()
fn pend_interrupt()
Pend the timer’s interrupt.
source§fn timer_queue() -> &'static TimerQueue<Self>
fn timer_queue() -> &'static TimerQueue<Self>
Returns a reference to the underlying timer queue.
source§fn enable_timer()
fn enable_timer()
Optional. This is used to save power, this is called when the timer queue is not empty. Read more
source§fn disable_timer()
fn disable_timer()
Optional. This is used to save power, this is called when the timer queue is empty. Read more
Auto Trait Implementations§
impl Freeze for Rtc0Backend
impl RefUnwindSafe for Rtc0Backend
impl Send for Rtc0Backend
impl Sync for Rtc0Backend
impl Unpin for Rtc0Backend
impl UnwindSafe for Rtc0Backend
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more