pub type W = W<CFG0_SPEC>;Expand description
Register CFG0 writer
Aliased Type§
pub struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn prescale(&mut self) -> PRESCALE_W<'_, CFG0_SPEC>
pub fn prescale(&mut self) -> PRESCALE_W<'_, CFG0_SPEC>
Bits 0:7 - Configures the prescaler value of timer%s, so that the period of PT0_clk = Period of PWM_clk * (PWM_TIMER%s_PRESCALE + 1)
Sourcepub fn period(&mut self) -> PERIOD_W<'_, CFG0_SPEC>
pub fn period(&mut self) -> PERIOD_W<'_, CFG0_SPEC>
Bits 8:23 - Configures the period shadow of PWM timer%s
Sourcepub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W<'_, CFG0_SPEC>
pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W<'_, CFG0_SPEC>
Bits 24:25 - Configures the update method for active register of PWM timer%s period.\0: Immediate\1: TEZ\2: Sync\3: TEZ or sync\TEZ here and below means timer equal zero event