Enum Filter
#[repr(u8)]pub enum Filter {
Show 16 variants
Disabled = 0,
FhrtimN2 = 1,
FhrtimN4 = 2,
FhrtimN8 = 3,
Div2n6 = 4,
Div2n8 = 5,
Div4n6 = 6,
Div4n8 = 7,
Div8n6 = 8,
Div8n8 = 9,
Div16n5 = 10,
Div16n6 = 11,
Div16n8 = 12,
Div32n5 = 13,
Div32n6 = 14,
Div32n8 = 15,
}Expand description
Digital filter (external events and faults)
Variants§
Disabled = 0
Filter disabled
FhrtimN2 = 1
f_SAMPLING = f_HRTIM, N=2
FhrtimN4 = 2
f_SAMPLING = f_HRTIM, N=4
FhrtimN8 = 3
f_SAMPLING = f_HRTIM, N=8
Div2n6 = 4
f_SAMPLING = f_EEVS/2 (f_FLTS/2 for faults), N=6
Div2n8 = 5
f_SAMPLING = f_EEVS/2 (f_FLTS/2 for faults), N=8
Div4n6 = 6
f_SAMPLING = f_EEVS/4 (f_FLTS/4 for faults), N=6
Div4n8 = 7
f_SAMPLING = f_EEVS/4 (f_FLTS/4 for faults), N=8
Div8n6 = 8
f_SAMPLING = f_EEVS/8 (f_FLTS/8 for faults), N=6
Div8n8 = 9
f_SAMPLING = f_EEVS/8 (f_FLTS/8 for faults), N=8
Div16n5 = 10
f_SAMPLING = f_EEVS/16 (f_FLTS/16 for faults), N=5
Div16n6 = 11
f_SAMPLING = f_EEVS/16 (f_FLTS/16 for faults), N=6
Div16n8 = 12
f_SAMPLING = f_EEVS/16 (f_FLTS/16 for faults), N=8
Div32n5 = 13
f_SAMPLING = f_EEVS/32 (f_FLTS/32 for faults), N=5
Div32n6 = 14
f_SAMPLING = f_EEVS/32 (f_FLTS/32 for faults), N=6
Div32n8 = 15
f_SAMPLING = f_EEVS/32 (f_FLTS/32 for faults), N=8
Implementations§
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
§impl Ord for Filter
impl Ord for Filter
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Filter
impl PartialOrd for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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