pub struct R(_);
Expand description
Register TIMER
reader
Implementations
sourceimpl R
impl R
sourcepub fn value(&self) -> VALUE_R
pub fn value(&self) -> VALUE_R
Bits 0:23 - Holds the current timer value of the down-counter. The initial value of the TIMERn register is loaded as IVALUE - 1 from the INTVALn register either at the end of the time interval or immediately in the following cases: INTVALn register is updated in the idle state. INTVALn register is updated with LOAD = 1. When the timer is in idle state, reading this bit fields returns -1 (0x00FF FFFF).
Methods from Deref<Target = R<TIMER_SPEC>>
Trait Implementations
sourceimpl From<R<TIMER_SPEC>> for R
impl From<R<TIMER_SPEC>> for R
sourcefn from(reader: R<TIMER_SPEC>) -> Self
fn from(reader: R<TIMER_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
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