Enum ETF

Source
#[repr(u8)]
pub enum ETF {
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

External trigger filter

Value on reset: 0

Variants§

§

NoFilter = 0

0: No filter, sampling is done at fDTS

§

FckIntN2 = 1

1: fSAMPLING=fCK_INT, N=2

§

FckIntN4 = 2

2: fSAMPLING=fCK_INT, N=4

§

FckIntN8 = 3

3: fSAMPLING=fCK_INT, N=8

§

FdtsDiv2N6 = 4

4: fSAMPLING=fDTS/2, N=6

§

FdtsDiv2N8 = 5

5: fSAMPLING=fDTS/2, N=8

§

FdtsDiv4N6 = 6

6: fSAMPLING=fDTS/4, N=6

§

FdtsDiv4N8 = 7

7: fSAMPLING=fDTS/4, N=8

§

FdtsDiv8N6 = 8

8: fSAMPLING=fDTS/8, N=6

§

FdtsDiv8N8 = 9

9: fSAMPLING=fDTS/8, N=8

§

FdtsDiv16N5 = 10

10: fSAMPLING=fDTS/16, N=5

§

FdtsDiv16N6 = 11

11: fSAMPLING=fDTS/16, N=6

§

FdtsDiv16N8 = 12

12: fSAMPLING=fDTS/16, N=8

§

FdtsDiv32N5 = 13

13: fSAMPLING=fDTS/32, N=5

§

FdtsDiv32N6 = 14

14: fSAMPLING=fDTS/32, N=6

§

FdtsDiv32N8 = 15

15: fSAMPLING=fDTS/32, N=8

Trait Implementations§

Source§

impl Clone for ETF

Source§

fn clone(&self) -> ETF

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ETF

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FieldSpec for ETF

Source§

type Ux = u8

Raw field type (u8, u16, u32, …).
Source§

impl Format for ETF

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl From<ETF> for u8

Source§

fn from(variant: ETF) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for ETF

Source§

fn eq(&self, other: &ETF) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ETF

Source§

impl Eq for ETF

Source§

impl IsEnum for ETF

Source§

impl StructuralPartialEq for ETF

Auto Trait Implementations§

§

impl Freeze for ETF

§

impl RefUnwindSafe for ETF

§

impl Send for ETF

§

impl Sync for ETF

§

impl Unpin for ETF

§

impl UnwindSafe for ETF

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.