pub struct W(_);
Expand description
Register CCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn cap0re(&mut self) -> CAP0RE_W<'_>
pub fn cap0re(&mut self) -> CAP0RE_W<'_>
Bit 0 - Rising edge of capture channel 0: a sequence of 0 then 1 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap0fe(&mut self) -> CAP0FE_W<'_>
pub fn cap0fe(&mut self) -> CAP0FE_W<'_>
Bit 1 - Falling edge of capture channel 0: a sequence of 1 then 0 causes CR0 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap0i(&mut self) -> CAP0I_W<'_>
pub fn cap0i(&mut self) -> CAP0I_W<'_>
Bit 2 - Generate interrupt on channel 0 capture event: a CR0 load generates an interrupt.
sourcepub fn cap1re(&mut self) -> CAP1RE_W<'_>
pub fn cap1re(&mut self) -> CAP1RE_W<'_>
Bit 3 - Rising edge of capture channel 1: a sequence of 0 then 1 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap1fe(&mut self) -> CAP1FE_W<'_>
pub fn cap1fe(&mut self) -> CAP1FE_W<'_>
Bit 4 - Falling edge of capture channel 1: a sequence of 1 then 0 causes CR1 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap1i(&mut self) -> CAP1I_W<'_>
pub fn cap1i(&mut self) -> CAP1I_W<'_>
Bit 5 - Generate interrupt on channel 1 capture event: a CR1 load generates an interrupt.
sourcepub fn cap2re(&mut self) -> CAP2RE_W<'_>
pub fn cap2re(&mut self) -> CAP2RE_W<'_>
Bit 6 - Rising edge of capture channel 2: a sequence of 0 then 1 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap2fe(&mut self) -> CAP2FE_W<'_>
pub fn cap2fe(&mut self) -> CAP2FE_W<'_>
Bit 7 - Falling edge of capture channel 2: a sequence of 1 then 0 causes CR2 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap2i(&mut self) -> CAP2I_W<'_>
pub fn cap2i(&mut self) -> CAP2I_W<'_>
Bit 8 - Generate interrupt on channel 2 capture event: a CR2 load generates an interrupt.
sourcepub fn cap3re(&mut self) -> CAP3RE_W<'_>
pub fn cap3re(&mut self) -> CAP3RE_W<'_>
Bit 9 - Rising edge of capture channel 3: a sequence of 0 then 1 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
sourcepub fn cap3fe(&mut self) -> CAP3FE_W<'_>
pub fn cap3fe(&mut self) -> CAP3FE_W<'_>
Bit 10 - Falling edge of capture channel 3: a sequence of 1 then 0 causes CR3 to be loaded with the contents of TC. 0 = disabled. 1 = enabled.
Methods from Deref<Target = W<CCR_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more