#[repr(u8)]pub enum ICPRESCALER {
NoPrescaler = 0,
TwoEvents = 1,
FourEvents = 2,
EightEvents = 3,
}
Expand description
Input capture %s prescaler
Value on reset: 0
Variants§
NoPrescaler = 0
0: No prescaler, capture is done each time an edge is detected on the capture input
TwoEvents = 1
1: Capture is done once every 2 events
FourEvents = 2
2: Capture is done once every 4 events
EightEvents = 3
3: Capture is done once every 8 events
Trait Implementations§
Source§impl Clone for ICPRESCALER
impl Clone for ICPRESCALER
Source§fn clone(&self) -> ICPRESCALER
fn clone(&self) -> ICPRESCALER
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ICPRESCALER
impl Debug for ICPRESCALER
Source§impl PartialEq for ICPRESCALER
impl PartialEq for ICPRESCALER
impl Copy for ICPRESCALER
impl Eq for ICPRESCALER
impl IsEnum for ICPRESCALER
impl StructuralPartialEq for ICPRESCALER
Auto Trait Implementations§
impl Freeze for ICPRESCALER
impl RefUnwindSafe for ICPRESCALER
impl Send for ICPRESCALER
impl Sync for ICPRESCALER
impl Unpin for ICPRESCALER
impl UnwindSafe for ICPRESCALER
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more