Struct Fcr
#[repr(transparent)]pub struct Fcr(pub u32);Tuple Fields§
§0: u32Implementations§
§impl Fcr
impl Fcr
pub const fn iosr(&self) -> u8
pub const fn iosr(&self) -> u8
Integrator oversampling ratio (averaging length). 0-255: length of the integrator in the range 1-256 (IOSR+1), i.e. how many samples from the Sinc filter are summed into one output data sample. This bit can only be modified when DFEN=0 (DFSDM_FLTxCR1). Note: if IOSR = 0, the integrator has no effect (bypass).
pub const fn set_iosr(&mut self, val: u8)
pub const fn set_iosr(&mut self, val: u8)
Integrator oversampling ratio (averaging length). 0-255: length of the integrator in the range 1-256 (IOSR+1), i.e. how many samples from the Sinc filter are summed into one output data sample. This bit can only be modified when DFEN=0 (DFSDM_FLTxCR1). Note: if IOSR = 0, the integrator has no effect (bypass).
pub const fn fosr(&self) -> u16
pub const fn fosr(&self) -> u16
Sinc filter oversampling ratio (decimation rate). 0-1023: length of the Sinc filter in the range 1-1024 (FOSR+1). This number is also the decimation ratio of the output data rate from the filter. This bit can only be modified when DFEN=0 (DFSDM_FLTxCR1). Note: if FOSR = 0, the filter has no effect (bypass).
pub const fn set_fosr(&mut self, val: u16)
pub const fn set_fosr(&mut self, val: u16)
Sinc filter oversampling ratio (decimation rate). 0-1023: length of the Sinc filter in the range 1-1024 (FOSR+1). This number is also the decimation ratio of the output data rate from the filter. This bit can only be modified when DFEN=0 (DFSDM_FLTxCR1). Note: if FOSR = 0, the filter has no effect (bypass).