Enum stm32l0xx_hal::pac::tim2::ccmr1_input::IC1PSC_A
source · [−]#[repr(u8)]
pub enum IC1PSC_A {
NoPrescaler,
TwoEvents,
FourEvents,
EightEvents,
}
Expand description
Input capture 1 prescaler
Value on reset: 0
Variants
NoPrescaler
0: no prescaler, capture is done each time an edge is detected on the capture input
TwoEvents
1: Capture is done once every 2 events
FourEvents
2: Capture is done once every 4 events
EightEvents
3: Capture is done once every 8 events
Trait Implementations
impl Copy for IC1PSC_A
impl StructuralPartialEq for IC1PSC_A
Auto Trait Implementations
impl RefUnwindSafe for IC1PSC_A
impl Send for IC1PSC_A
impl Sync for IC1PSC_A
impl Unpin for IC1PSC_A
impl UnwindSafe for IC1PSC_A
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