Struct DfConf
#[repr(transparent)]pub struct DfConf(pub u32);Expand description
Decimation filter configuration register.
Tuple Fields§
§0: u32Implementations§
§impl DfConf
impl DfConf
pub const fn df_cic_dec_factor(&self) -> u8
pub fn set_df_cic_dec_factor(&mut self, val: u8)
pub const fn df_cic_dhf(&self) -> bool
pub const fn df_cic_dhf(&self) -> bool
CIC filter decimator half factor.
pub fn set_df_cic_dhf(&mut self, val: bool)
pub fn set_df_cic_dhf(&mut self, val: bool)
CIC filter decimator half factor.
pub fn set_df_itp1p2(&mut self, val: bool)
pub fn set_df_itp1p2(&mut self, val: bool)
1.2 fractional interpolator enable.
pub fn set_df_i_u2s(&mut self, val: bool)
pub fn set_df_i_u2s(&mut self, val: bool)
select signed/unsigned format for input.
pub fn set_df_o_s2u(&mut self, val: bool)
pub fn set_df_o_s2u(&mut self, val: bool)
select signed/unsigned format for data output.
pub fn set_pdm_rate(&mut self, val: u8)
pub fn set_pdm_rate(&mut self, val: u8)
select the PDM clock rate.
pub const fn df_microl_rn(&self) -> bool
pub const fn df_microl_rn(&self) -> bool
left/right channel selection on digital microphone.
pub fn set_df_microl_rn(&mut self, val: bool)
pub fn set_df_microl_rn(&mut self, val: bool)
left/right channel selection on digital microphone.
pub fn set_df_hpf_en(&mut self, val: bool)
pub fn set_df_hpf_en(&mut self, val: bool)
high pass filter enable.
pub const fn df_half_d_en(&self) -> bool
pub const fn df_half_d_en(&self) -> bool
half dynamic enable.
pub fn set_df_half_d_en(&mut self, val: bool)
pub fn set_df_half_d_en(&mut self, val: bool)
half dynamic enable.
Trait Implementations§
impl Copy for DfConf
impl Eq for DfConf
impl StructuralPartialEq for DfConf
Auto Trait Implementations§
impl Freeze for DfConf
impl RefUnwindSafe for DfConf
impl Send for DfConf
impl Sync for DfConf
impl Unpin for DfConf
impl UnwindSafe for DfConf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more