Type Alias d1_pac::audio_codec::hmic_ctrl::HMIC_SF_W

source ·
pub type HMIC_SF_W<'a, const O: u8> = FieldWriterSafe<'a, u32, HMIC_CTRL_SPEC, u8, HMIC_SF_A, 2, O>;
Expand description

Field hmic_sf writer - HMIC Smooth Filter setting

Aliased Type§

struct HMIC_SF_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

bypass

source

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

(x1+x2)/2

source

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

(x1+x2+x3+x4)/4

source

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

(x1+x2+x3+x4+x5+x6+x7+x8)/8