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