Struct gd32f1x0_hal::pac::timer1::ctl0::CAM_W [−][src]
pub struct CAM_W<'a> { /* fields omitted */ }
Expand description
Field CAM
writer - Counter aligns mode selection
Implementations
impl<'a> CAM_W<'a>
[src]
impl<'a> CAM_W<'a>
[src]pub fn edge_aligned(self) -> &'a mut W
[src]
pub fn edge_aligned(self) -> &'a mut W
[src]The counter counts up or down depending on the direction bit
pub fn center_aligned_counting_down(self) -> &'a mut W
[src]
pub fn center_aligned_counting_down(self) -> &'a mut W
[src]The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
pub fn center_aligned_counting_up(self) -> &'a mut W
[src]
pub fn center_aligned_counting_up(self) -> &'a mut W
[src]The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
pub fn center_aligned_counting_up_down(self) -> &'a mut W
[src]
pub fn center_aligned_counting_up_down(self) -> &'a mut W
[src]The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.