Struct esp8266_hal::timer::Timer1
source · [−]pub struct Timer1 { /* private fields */ }
Implementations
sourceimpl Timer1
impl Timer1
sourcepub fn enable_interrupts(&self)
pub fn enable_interrupts(&self)
Enable edge interrupts for this timer
Note that using wait
on the timer in unreliable why interrupts are enabled
pub fn disable_interrupts(&self)
Trait Implementations
impl Periodic for Timer1
Auto Trait Implementations
impl RefUnwindSafe for Timer1
impl Send for Timer1
impl Sync for Timer1
impl Unpin for Timer1
impl UnwindSafe for Timer1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more