[][src]Enum efm32gg11b820::csen::emactrl::EMASAMPLER

pub enum EMASAMPLER {
    W1,
    W2,
    W4,
    W8,
    W16,
    W32,
    W64,
    _Reserved(u8),
}

Possible values of the field EMASAMPLE

Variants

W1

EMA weight (N) is 1.

W2

EMA weight (N) is 2.

W4

EMA weight (N) is 4.

W8

EMA weight (N) is 8.

W16

EMA weight (N) is 16.

W32

EMA weight (N) is 32.

W64

EMA weight (N) is 64.

_Reserved(u8)

Reserved

Methods

impl EMASAMPLER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_w1(&self) -> bool[src]

Checks if the value of the field is W1

pub fn is_w2(&self) -> bool[src]

Checks if the value of the field is W2

pub fn is_w4(&self) -> bool[src]

Checks if the value of the field is W4

pub fn is_w8(&self) -> bool[src]

Checks if the value of the field is W8

pub fn is_w16(&self) -> bool[src]

Checks if the value of the field is W16

pub fn is_w32(&self) -> bool[src]

Checks if the value of the field is W32

pub fn is_w64(&self) -> bool[src]

Checks if the value of the field is W64

Trait Implementations

impl Copy for EMASAMPLER[src]

impl Debug for EMASAMPLER[src]

impl PartialEq<EMASAMPLER> for EMASAMPLER[src]

impl Clone for EMASAMPLER[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for EMASAMPLER

impl Sync for EMASAMPLER

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self