pub struct Timer3Backend;Available on crate features
nrf52832 or nrf52833 or nrf52840 only.Expand description
Timer peripheral based TimerQueueBackend.
Implementations§
Source§impl Timer3Backend
impl Timer3Backend
Sourcepub fn _start(timer: TIMER3, prescaler: u8)
Available on crate features nrf52805 or nrf52810 or nrf52811 or nrf52832 or nrf52833 or nrf52840 or nrf5340-app or nrf5340-net or nrf9151-ns or nrf9151-s or nrf9160-ns or nrf9160-s or nrf9161-ns or nrf9161-s only.
pub fn _start(timer: TIMER3, prescaler: u8)
nrf52805 or nrf52810 or nrf52811 or nrf52832 or nrf52833 or nrf52840 or nrf5340-app or nrf5340-net or nrf9151-ns or nrf9151-s or nrf9160-ns or nrf9160-s or nrf9161-ns or nrf9161-s only.Starts the timer.
Do not use this function directly.
Use the prelude macros instead.
Trait Implementations§
Source§impl TimerQueueBackend for Timer3Backend
Available on crate features nrf52805 or nrf52810 or nrf52811 or nrf52832 or nrf52833 or nrf52840 or nrf5340-app or nrf5340-net or nrf9151-ns or nrf9151-s or nrf9160-ns or nrf9160-s or nrf9161-ns or nrf9161-s only.
impl TimerQueueBackend for Timer3Backend
Available on crate features
nrf52805 or nrf52810 or nrf52811 or nrf52832 or nrf52833 or nrf52840 or nrf5340-app or nrf5340-net or nrf9151-ns or nrf9151-s or nrf9160-ns or nrf9160-s or nrf9161-ns or nrf9161-s only.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<Timer3Backend>
fn timer_queue() -> &'static TimerQueue<Timer3Backend>
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 Timer3Backend
impl RefUnwindSafe for Timer3Backend
impl Send for Timer3Backend
impl Sync for Timer3Backend
impl Unpin for Timer3Backend
impl UnsafeUnpin for Timer3Backend
impl UnwindSafe for Timer3Backend
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