#[non_exhaustive]pub struct Timer { /* private fields */ }
Implementations§
source§impl Timer
impl Timer
pub fn set_overflow_amount(&mut self, n: u16) -> &mut Self
pub fn value(&self) -> u16
pub fn set_divider(&mut self, divider: Divider) -> &mut Self
pub fn set_enabled(&mut self, enabled: bool) -> &mut Self
pub fn set_cascade(&mut self, cascade: bool) -> &mut Self
pub fn set_interrupt(&mut self, interrupt: bool) -> &mut Self
pub fn interrupt(&self) -> Interrupt
Auto Trait Implementations§
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
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