Struct esp32::mcpwm0::timer1_cfg0::R
source · pub struct R(_);Expand description
Register TIMER1_CFG0 reader
Implementations§
source§impl R
impl R
sourcepub fn timer1_prescale(&self) -> TIMER1_PRESCALE_R
pub fn timer1_prescale(&self) -> TIMER1_PRESCALE_R
Bits 0:7
sourcepub fn timer1_period(&self) -> TIMER1_PERIOD_R
pub fn timer1_period(&self) -> TIMER1_PERIOD_R
Bits 8:23
sourcepub fn timer1_period_upmethod(&self) -> TIMER1_PERIOD_UPMETHOD_R
pub fn timer1_period_upmethod(&self) -> TIMER1_PERIOD_UPMETHOD_R
Bits 24:25
Methods from Deref<Target = R<TIMER1_CFG0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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