pub type CamW<'a, REG> = FieldWriterSafe<'a, REG, 2, Cam>;
Expand description
Field CAM
writer - Counter aligns mode selection
Aliased Type§
struct CamW<'a, REG> { /* private fields */ }
Implementations§
source§impl<'a, REG> CamW<'a, REG>
impl<'a, REG> CamW<'a, REG>
sourcepub fn edge_aligned(self) -> &'a mut W<REG>
pub fn edge_aligned(self) -> &'a mut W<REG>
The counter counts up or down depending on the direction bit
sourcepub fn center_aligned_counting_down(self) -> &'a mut W<REG>
pub fn center_aligned_counting_down(self) -> &'a mut W<REG>
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
sourcepub fn center_aligned_counting_up(self) -> &'a mut W<REG>
pub fn center_aligned_counting_up(self) -> &'a mut W<REG>
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
sourcepub fn center_aligned_counting_up_down(self) -> &'a mut W<REG>
pub fn center_aligned_counting_up_down(self) -> &'a mut W<REG>
The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.