stm32-metapac

Crates

git

Versions

stm32l552vc

Flavors

Skip to main content

Cr2

Struct Cr2 

#[repr(transparent)]
pub struct Cr2(pub u32);

Tuple Fields§

§0: u32

Implementations§

§

impl Cr2

pub const fn jeocie(&self) -> bool

Injected end of conversion interrupt enable Please see the explanation of JEOCF in DFSDM_FLTxISR.

pub const fn set_jeocie(&mut self, val: bool)

Injected end of conversion interrupt enable Please see the explanation of JEOCF in DFSDM_FLTxISR.

pub const fn reocie(&self) -> bool

Regular end of conversion interrupt enable Please see the explanation of REOCF in DFSDM_FLTxISR.

pub const fn set_reocie(&mut self, val: bool)

Regular end of conversion interrupt enable Please see the explanation of REOCF in DFSDM_FLTxISR.

pub const fn jovrie(&self) -> bool

Injected data overrun interrupt enable Please see the explanation of JOVRF in DFSDM_FLTxISR.

pub const fn set_jovrie(&mut self, val: bool)

Injected data overrun interrupt enable Please see the explanation of JOVRF in DFSDM_FLTxISR.

pub const fn rovrie(&self) -> bool

Regular data overrun interrupt enable Please see the explanation of ROVRF in DFSDM_FLTxISR.

pub const fn set_rovrie(&mut self, val: bool)

Regular data overrun interrupt enable Please see the explanation of ROVRF in DFSDM_FLTxISR.

pub const fn awdie(&self) -> bool

Analog watchdog interrupt enable Please see the explanation of AWDF in DFSDM_FLTxISR.

pub const fn set_awdie(&mut self, val: bool)

Analog watchdog interrupt enable Please see the explanation of AWDF in DFSDM_FLTxISR.

pub const fn scdie(&self) -> bool

Short-circuit detector interrupt enable Please see the explanation of SCDF[7:0] in DFSDM_FLTxISR. Note: SCDIE is present only in DFSDM_FLT0CR2 register (filter x=0).

pub const fn set_scdie(&mut self, val: bool)

Short-circuit detector interrupt enable Please see the explanation of SCDF[7:0] in DFSDM_FLTxISR. Note: SCDIE is present only in DFSDM_FLT0CR2 register (filter x=0).

pub const fn ckabie(&self) -> bool

Clock absence interrupt enable Please see the explanation of CKABF[7:0] in DFSDM_FLTxISR. Note: CKABIE is present only in DFSDM_FLT0CR2 register (filter x=0).

pub const fn set_ckabie(&mut self, val: bool)

Clock absence interrupt enable Please see the explanation of CKABF[7:0] in DFSDM_FLTxISR. Note: CKABIE is present only in DFSDM_FLT0CR2 register (filter x=0).

pub const fn exch(&self) -> u8

Extremes detector channel selection These bits select the input channels to be taken by the Extremes detector. EXCH[y] = 0: Extremes detector does not accept data from channel y EXCH[y] = 1: Extremes detector accepts data from channel y.

pub const fn set_exch(&mut self, val: u8)

Extremes detector channel selection These bits select the input channels to be taken by the Extremes detector. EXCH[y] = 0: Extremes detector does not accept data from channel y EXCH[y] = 1: Extremes detector accepts data from channel y.

pub const fn awdch(&self) -> u8

Analog watchdog channel selection These bits select the input channel to be guarded continuously by the analog watchdog. AWDCH[y] = 0: Analog watchdog is disabled on channel y AWDCH[y] = 1: Analog watchdog is enabled on channel y.

pub const fn set_awdch(&mut self, val: u8)

Analog watchdog channel selection These bits select the input channel to be guarded continuously by the analog watchdog. AWDCH[y] = 0: Analog watchdog is disabled on channel y AWDCH[y] = 1: Analog watchdog is enabled on channel y.

Trait Implementations§

§

impl Clone for Cr2

§

fn clone(&self) -> Cr2

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
§

impl Copy for Cr2

§

impl Debug for Cr2

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for Cr2

§

fn default() -> Cr2

Returns the “default value” for a type. Read more
§

impl Eq for Cr2

§

impl PartialEq for Cr2

§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for Cr2

Auto Trait Implementations§

§

impl Freeze for Cr2

§

impl RefUnwindSafe for Cr2

§

impl Send for Cr2

§

impl Sync for Cr2

§

impl Unpin for Cr2

§

impl UnsafeUnpin for Cr2

§

impl UnwindSafe for Cr2

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 = !

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.