Enum efm32gg11b_pac::efm32gg11b840::csen::emactrl::EMASAMPLE_A
source · #[repr(u8)]
pub enum EMASAMPLE_A {
W1,
W2,
W4,
W8,
W16,
W32,
W64,
}
Expand description
EMA Sample Weight
Value on reset: 0
Variants§
W1
0: EMA weight (N) is 1.
W2
1: EMA weight (N) is 2.
W4
2: EMA weight (N) is 4.
W8
3: EMA weight (N) is 8.
W16
4: EMA weight (N) is 16.
W32
5: EMA weight (N) is 32.
W64
6: EMA weight (N) is 64.
Trait Implementations§
source§impl Clone for EMASAMPLE_A
impl Clone for EMASAMPLE_A
source§fn clone(&self) -> EMASAMPLE_A
fn clone(&self) -> EMASAMPLE_A
Returns a copy 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 EMASAMPLE_A
impl Debug for EMASAMPLE_A
source§impl From<EMASAMPLE_A> for u8
impl From<EMASAMPLE_A> for u8
source§fn from(variant: EMASAMPLE_A) -> Self
fn from(variant: EMASAMPLE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<EMASAMPLE_A> for EMASAMPLE_A
impl PartialEq<EMASAMPLE_A> for EMASAMPLE_A
source§fn eq(&self, other: &EMASAMPLE_A) -> bool
fn eq(&self, other: &EMASAMPLE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.