Type Alias R

Source
pub type R = R<PERIOD_SPEC>;
Expand description

Register period reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn interrupt_cycles(&self) -> INTERRUPT_CYCLES_R

Bits 0:15 - If internal counter reaches this cycle count, it interrupts

Source

pub fn repeat_cycles(&self) -> REPEAT_CYCLES_R

Bits 16:31 - How many clock cycles a Pulse-Width Modulation cycle includes