pub type R = R<CFG0_SPEC>;
Expand description
Register CFG0
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn prescale(&self) -> PRESCALE_R
pub fn prescale(&self) -> PRESCALE_R
Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)
sourcepub fn period_upmethod(&self) -> PERIOD_UPMETHOD_R
pub fn period_upmethod(&self) -> 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