#[repr(u8)]pub enum CapturePrescaler {
No = 0,
Two = 1,
Four = 2,
Eight = 3,
}
Expand description
Enum for configuring the Input Capture prescaler. Determines how many input events are required for one capture.
Variants§
No = 0
No prescaler (00): Capture every input event.
Two = 1
Prescaler 2 (01): Capture every second input event.
Four = 2
Prescaler 4 (10): Capture every fourth input event.
Eight = 3
Prescaler 8 (11): Capture every eighth input event.
Trait Implementations§
Source§impl Clone for CapturePrescaler
impl Clone for CapturePrescaler
Source§fn clone(&self) -> CapturePrescaler
fn clone(&self) -> CapturePrescaler
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 CapturePrescaler
impl Debug for CapturePrescaler
Source§impl Format for CapturePrescaler
impl Format for CapturePrescaler
Source§impl PartialEq for CapturePrescaler
impl PartialEq for CapturePrescaler
impl Copy for CapturePrescaler
impl Eq for CapturePrescaler
impl StructuralPartialEq for CapturePrescaler
Auto Trait Implementations§
impl Freeze for CapturePrescaler
impl RefUnwindSafe for CapturePrescaler
impl Send for CapturePrescaler
impl Sync for CapturePrescaler
impl Unpin for CapturePrescaler
impl UnwindSafe for CapturePrescaler
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