Enum FaultSamplingFilter

Source
pub enum FaultSamplingFilter {
Show 16 variants None = 0, HrtimN2 = 1, HrtimN4 = 2, HrtimN8 = 3, FltsDiv2N6 = 4, FltsDiv2N8 = 5, FltsDiv4N6 = 6, FltsDiv4N8 = 7, FltsDiv8N6 = 8, FltsDiv8N8 = 9, FltsDiv16N5 = 10, FltsDiv16N6 = 11, FltsDiv16N8 = 12, FltsDiv32N5 = 13, FltsDiv32N6 = 14, FltsDiv32N8 = 15,
}

Variants§

§

None = 0

No filtering, fault acts asynchronously

Note that this bypasses any f_flts (SamplingClkDiv)

§

HrtimN2 = 1

Sample directly at rate f_hrtim, with a count of 2

Note that this bypasses: any f_flts (SamplingClkDiv)

§

HrtimN4 = 2

Sample directly at rate f_hrtim, with a count of 4

Note that this bypasses any f_flts (SamplingClkDiv)

§

HrtimN8 = 3

Sample directly at rate f_hrtim, with a count of 8

Note that this bypasses any f_flts (SamplingClkDiv)

§

FltsDiv2N6 = 4

Sample at rate f_flts / 2, with a count of 6

§

FltsDiv2N8 = 5

Sample at rate f_flts / 2, with a count of 8

§

FltsDiv4N6 = 6

Sample at rate f_flts / 4, with a count of 6

§

FltsDiv4N8 = 7

Sample at rate f_flts / 4, with a count of 8

§

FltsDiv8N6 = 8

Sample at rate f_flts / 8, with a count of 6

§

FltsDiv8N8 = 9

Sample at rate f_flts / 8, with a count of 8

§

FltsDiv16N5 = 10

Sample at rate f_flts / 16, with a count of 5

§

FltsDiv16N6 = 11

Sample at rate f_flts / 16, with a count of 6

§

FltsDiv16N8 = 12

Sample at rate f_flts / 16, with a count of 8

§

FltsDiv32N5 = 13

Sample at rate f_flts / 32, with a count of 5

§

FltsDiv32N6 = 14

Sample at rate f_flts / 32, with a count of 6

§

FltsDiv32N8 = 15

Sample at rate f_flts / 32, with a count of 8

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.