Type Alias esp32::mcpwm0::timer2_cfg0::R
source · pub type R = R<TIMER2_CFG0_SPEC>;Expand description
Register TIMER2_CFG0 reader
Aliased Type§
struct R { /* private fields */ }Implementations§
source§impl R
impl R
sourcepub fn timer2_prescale(&self) -> TIMER2_PRESCALE_R
pub fn timer2_prescale(&self) -> TIMER2_PRESCALE_R
Bits 0:7
sourcepub fn timer2_period(&self) -> TIMER2_PERIOD_R
pub fn timer2_period(&self) -> TIMER2_PERIOD_R
Bits 8:23
sourcepub fn timer2_period_upmethod(&self) -> TIMER2_PERIOD_UPMETHOD_R
pub fn timer2_period_upmethod(&self) -> TIMER2_PERIOD_UPMETHOD_R
Bits 24:25