Type Alias esp32::mcpwm0::timer1_cfg0::R

source ·
pub type R = R<TIMER1_CFG0_SPEC>;
Expand description

Register TIMER1_CFG0 reader

Implementations§

source§

impl R

source

pub fn timer1_prescale(&self) -> TIMER1_PRESCALE_R

Bits 0:7

source

pub fn timer1_period(&self) -> TIMER1_PERIOD_R

Bits 8:23

source

pub fn timer1_period_upmethod(&self) -> TIMER1_PERIOD_UPMETHOD_R

Bits 24:25