pub struct R(_);Expand description
Register TIMER0_CFG0 reader
Implementations
sourceimpl R
impl R
sourcepub fn timer0_prescale(&self) -> TIMER0_PRESCALE_R
pub fn timer0_prescale(&self) -> TIMER0_PRESCALE_R
Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)
sourcepub fn timer0_period(&self) -> TIMER0_PERIOD_R
pub fn timer0_period(&self) -> TIMER0_PERIOD_R
Bits 8:23 - period shadow register of PWM timer0
sourcepub fn timer0_period_upmethod(&self) -> TIMER0_PERIOD_UPMETHOD_R
pub fn timer0_period_upmethod(&self) -> TIMER0_PERIOD_UPMETHOD_R
Bits 24:25 - Update method for active register of PWM timer0 period, 0: immediate, 1: TEZ, 2: sync, 3: TEZ | sync. TEZ here and below means timer equal zero event
Methods from Deref<Target = R<TIMER0_CFG0_SPEC>>
Trait Implementations
sourceimpl From<R<TIMER0_CFG0_SPEC>> for R
impl From<R<TIMER0_CFG0_SPEC>> for R
sourcefn from(reader: R<TIMER0_CFG0_SPEC>) -> Self
fn from(reader: R<TIMER0_CFG0_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