stm32-metapac

Crates

git

Versions

stm32u5f9zi

Flavors

Mdf

Struct Mdf 

pub struct Mdf { /* private fields */ }
Expand description

Multi-function digital filter.

Implementations§

§

impl Mdf

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn gcr(self) -> Reg<Gcr, RW>

MDF global control register.

pub const fn ckgcr(self) -> Reg<Ckgcr, RW>

MDF clock generator control register.

pub const fn sitfcr(self, n: usize) -> Reg<Sitfcr, RW>

This register is used to control the serial interfaces (SITFx).

pub const fn bsmxcr(self, n: usize) -> Reg<Bsmxcr, RW>

This register is used to select the bitstream to be provided to the corresponding digital filter and to the SCD.

pub const fn dfltcr(self, n: usize) -> Reg<Dfltcr, RW>

This register is used to control the digital filter x.

pub const fn dfltcicr(self, n: usize) -> Reg<Dfltcicr, RW>

This register is used to control the main CIC filter.

pub const fn dfltrsfr(self, n: usize) -> Reg<Dfltrsfr, RW>

This register is used to control the reshape and HPF filters.

pub const fn dfltintr(self, n: usize) -> Reg<Dfltintr, RW>

This register is used to the integrator (INT) settings.

pub const fn oldcr(self, n: usize) -> Reg<Oldcr, RW>

This register is used to configure the Out-of Limit Detector function.

pub const fn oldthlr(self, n: usize) -> Reg<Oldthlr, RW>

This register is used for the adjustment of the Out-off Limit low threshold.

pub const fn oldthhr(self, n: usize) -> Reg<Oldthhr, RW>

This register is used for the adjustment of the Out-off Limit high threshold.

pub const fn dlycr(self, n: usize) -> Reg<Dlycr, RW>

This register is used for the adjustment stream delays.

pub const fn scdcr(self, n: usize) -> Reg<Scdcr, RW>

This register is used for the adjustment stream delays.

pub const fn dfltier(self, n: usize) -> Reg<Dfltier, RW>

This register is used for allowing or not the events to generate an interrupt.

pub const fn dfltisr(self, n: usize) -> Reg<Dfltisr, RW>

MDF DFLT0 interrupt status register 0.

pub const fn oeccr(self, n: usize) -> Reg<Oeccr, RW>

This register contains the offset compensation value.

pub const fn snpsdr(self, n: usize) -> Reg<Snpsdr, R>

This register is used to read the data processed by each digital filter in snapshot mode.

pub const fn dfltdr(self, n: usize) -> Reg<Dfltdr, R>

This register is used to read the data processed by each digital filter.

Trait Implementations§

§

impl Clone for Mdf

§

fn clone(&self) -> Mdf

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl PartialEq for Mdf

§

fn eq(&self, other: &Mdf) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Mdf

§

impl Eq for Mdf

§

impl Send for Mdf

§

impl StructuralPartialEq for Mdf

§

impl Sync for Mdf

Auto Trait Implementations§

§

impl Freeze for Mdf

§

impl RefUnwindSafe for Mdf

§

impl Unpin for Mdf

§

impl UnwindSafe for Mdf

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.