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

source

pub fn timer2_prescale(&self) -> TIMER2_PRESCALE_R

Bits 0:7

source

pub fn timer2_period(&self) -> TIMER2_PERIOD_R

Bits 8:23

source

pub fn timer2_period_upmethod(&self) -> TIMER2_PERIOD_UPMETHOD_R

Bits 24:25