#[repr(u8)]pub enum CaptureFilter {
Show 16 variants
NoFilter = 0,
FckIntN2 = 1,
FckIntN4 = 2,
FckIntN8 = 3,
FdtsDiv2N6 = 4,
FdtsDiv2N8 = 5,
FdtsDiv4N6 = 6,
FdtsDiv4N8 = 7,
FdtsDiv8N6 = 8,
FdtsDiv8N8 = 9,
FdtsDiv16N5 = 10,
FdtsDiv16N6 = 11,
FdtsDiv16N8 = 12,
FdtsDiv32N5 = 13,
FdtsDiv32N6 = 14,
FdtsDiv32N8 = 15,
}
Expand description
Enum representing the input capture filter settings.
Variants§
NoFilter = 0
No filter, sampling frequency = fDTS, N = 1
FckIntN2 = 1
Sampling frequency = fCK_INT, N = 2
FckIntN4 = 2
Sampling frequency = fCK_INT, N = 4
FckIntN8 = 3
Sampling frequency = fCK_INT, N = 8
FdtsDiv2N6 = 4
Sampling frequency = fDTS/2, N = 6
FdtsDiv2N8 = 5
Sampling frequency = fDTS/2, N = 8
FdtsDiv4N6 = 6
Sampling frequency = fDTS/4, N = 6
FdtsDiv4N8 = 7
Sampling frequency = fDTS/4, N = 8
FdtsDiv8N6 = 8
Sampling frequency = fDTS/8, N = 6
FdtsDiv8N8 = 9
Sampling frequency = fDTS/8, N = 8
FdtsDiv16N5 = 10
Sampling frequency = fDTS/16, N = 5
FdtsDiv16N6 = 11
Sampling frequency = fDTS/16, N = 6
FdtsDiv16N8 = 12
Sampling frequency = fDTS/16, N = 8
FdtsDiv32N5 = 13
Sampling frequency = fDTS/32, N = 5
FdtsDiv32N6 = 14
Sampling frequency = fDTS/32, N = 6
FdtsDiv32N8 = 15
Sampling frequency = fDTS/32, N = 8
Trait Implementations§
Source§impl Clone for CaptureFilter
impl Clone for CaptureFilter
Source§fn clone(&self) -> CaptureFilter
fn clone(&self) -> CaptureFilter
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 CaptureFilter
impl Debug for CaptureFilter
Source§impl Format for CaptureFilter
impl Format for CaptureFilter
Source§impl PartialEq for CaptureFilter
impl PartialEq for CaptureFilter
impl Copy for CaptureFilter
impl Eq for CaptureFilter
impl StructuralPartialEq for CaptureFilter
Auto Trait Implementations§
impl Freeze for CaptureFilter
impl RefUnwindSafe for CaptureFilter
impl Send for CaptureFilter
impl Sync for CaptureFilter
impl Unpin for CaptureFilter
impl UnwindSafe for CaptureFilter
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