pub struct R(_);Expand description
Register TIMER0_STATUS reader
Implementations
sourceimpl R
impl R
sourcepub fn timer0_value(&self) -> TIMER0_VALUE_R
pub fn timer0_value(&self) -> TIMER0_VALUE_R
Bits 0:15 - current PWM timer0 counter value
sourcepub fn timer0_direction(&self) -> TIMER0_DIRECTION_R
pub fn timer0_direction(&self) -> TIMER0_DIRECTION_R
Bit 16 - current PWM timer0 counter direction, 0: increment 1: decrement
Methods from Deref<Target = R<TIMER0_STATUS_SPEC>>
Trait Implementations
sourceimpl From<R<TIMER0_STATUS_SPEC>> for R
impl From<R<TIMER0_STATUS_SPEC>> for R
sourcefn from(reader: R<TIMER0_STATUS_SPEC>) -> Self
fn from(reader: R<TIMER0_STATUS_SPEC>) -> Self
Converts to this type from the input type.
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