pub type W = W<PERIOD_SPEC>;
Expand description
Register period
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn interrupt_cycles(&mut self) -> INTERRUPT_CYCLES_W<'_, PERIOD_SPEC>
pub fn interrupt_cycles(&mut self) -> INTERRUPT_CYCLES_W<'_, PERIOD_SPEC>
Bits 0:15 - If internal counter reaches this cycle count, it interrupts
Sourcepub fn repeat_cycles(&mut self) -> REPEAT_CYCLES_W<'_, PERIOD_SPEC>
pub fn repeat_cycles(&mut self) -> REPEAT_CYCLES_W<'_, PERIOD_SPEC>
Bits 16:31 - How many clock cycles a Pulse-Width Modulation cycle includes