pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn cap0re(&mut self) -> _CAP0REW<'_>
pub fn cap0re(&mut self) -> _CAP0REW<'_>
Bit 0 - Capture on CT32B0_CAP0 rising edge: a sequence of 0 then 1 on CT32B0_CAP0 will cause CR0 to be loaded with the contents of TC.
sourcepub fn cap0fe(&mut self) -> _CAP0FEW<'_>
pub fn cap0fe(&mut self) -> _CAP0FEW<'_>
Bit 1 - Capture on CT32B0_CAP0 falling edge: a sequence of 1 then 0 on CT32B0_CAP0 will cause CR0 to be loaded with the contents of TC.
sourcepub fn cap0i(&mut self) -> _CAP0IW<'_>
pub fn cap0i(&mut self) -> _CAP0IW<'_>
Bit 2 - Interrupt on CT32B0_CAP0 event: a CR0 load due to a CT32B0_CAP0 event will generate an interrupt.
sourcepub fn cap1re(&mut self) -> _CAP1REW<'_>
pub fn cap1re(&mut self) -> _CAP1REW<'_>
Bit 6 - Capture on CT32B0_CAP1 rising edge: a sequence of 0 then 1 on CT32B0_CAP1 will cause CR1 to be loaded with the contents of TC.