pub type EMASAMPLE_W<'a, const O: u8> = FieldWriter<'a, u32, EMACTRL_SPEC, u8, EMASAMPLE_A, 3, O>;
Expand description

Field EMASAMPLE writer - EMA Sample Weight

Implementations§

source§

impl<'a, const O: u8> EMASAMPLE_W<'a, O>

source

pub fn w1(self) -> &'a mut W

EMA weight (N) is 1.

source

pub fn w2(self) -> &'a mut W

EMA weight (N) is 2.

source

pub fn w4(self) -> &'a mut W

EMA weight (N) is 4.

source

pub fn w8(self) -> &'a mut W

EMA weight (N) is 8.

source

pub fn w16(self) -> &'a mut W

EMA weight (N) is 16.

source

pub fn w32(self) -> &'a mut W

EMA weight (N) is 32.

source

pub fn w64(self) -> &'a mut W

EMA weight (N) is 64.