pub type IC1PSC_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CCMR1_INPUT_SPEC, u8, IC1PSC_A, 2, O>;
Expand description
Field IC1PSC
writer - Input capture 1 prescaler
Implementations
sourceimpl<'a, const O: u8> IC1PSC_W<'a, O>
impl<'a, const O: u8> IC1PSC_W<'a, O>
sourcepub fn no_prescaler(self) -> &'a mut W
pub fn no_prescaler(self) -> &'a mut W
no prescaler, capture is done each time an edge is detected on the capture input
sourcepub fn two_events(self) -> &'a mut W
pub fn two_events(self) -> &'a mut W
Capture is done once every 2 events
sourcepub fn four_events(self) -> &'a mut W
pub fn four_events(self) -> &'a mut W
Capture is done once every 4 events
sourcepub fn eight_events(self) -> &'a mut W
pub fn eight_events(self) -> &'a mut W
Capture is done once every 8 events