Struct R

Source
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn addrdy_mst(&self) -> ADDRDY_MSTR

Bit 0 - ADDRDY_MST

Source

pub fn eosmp_mst(&self) -> EOSMP_MSTR

Bit 1 - EOSMP_MST

Source

pub fn eoc_mst(&self) -> EOC_MSTR

Bit 2 - EOC_MST

Source

pub fn eos_mst(&self) -> EOS_MSTR

Bit 3 - EOS_MST

Source

pub fn ovr_mst(&self) -> OVR_MSTR

Bit 4 - OVR_MST

Source

pub fn jeoc_mst(&self) -> JEOC_MSTR

Bit 5 - JEOC_MST

Source

pub fn jeos_mst(&self) -> JEOS_MSTR

Bit 6 - JEOS_MST

Source

pub fn awd1_mst(&self) -> AWD1_MSTR

Bit 7 - AWD1_MST

Source

pub fn awd2_mst(&self) -> AWD2_MSTR

Bit 8 - AWD2_MST

Source

pub fn awd3_mst(&self) -> AWD3_MSTR

Bit 9 - AWD3_MST

Source

pub fn jqovf_mst(&self) -> JQOVF_MSTR

Bit 10 - JQOVF_MST

Source

pub fn adrdy_slv(&self) -> ADRDY_SLVR

Bit 16 - ADRDY_SLV

Source

pub fn eosmp_slv(&self) -> EOSMP_SLVR

Bit 17 - EOSMP_SLV

Source

pub fn eoc_slv(&self) -> EOC_SLVR

Bit 18 - End of regular conversion of the slave ADC

Source

pub fn eos_slv(&self) -> EOS_SLVR

Bit 19 - End of regular sequence flag of the slave ADC

Source

pub fn ovr_slv(&self) -> OVR_SLVR

Bit 20 - Overrun flag of the slave ADC

Source

pub fn jeoc_slv(&self) -> JEOC_SLVR

Bit 21 - End of injected conversion flag of the slave ADC

Source

pub fn jeos_slv(&self) -> JEOS_SLVR

Bit 22 - End of injected sequence flag of the slave ADC

Source

pub fn awd1_slv(&self) -> AWD1_SLVR

Bit 23 - Analog watchdog 1 flag of the slave ADC

Source

pub fn awd2_slv(&self) -> AWD2_SLVR

Bit 24 - Analog watchdog 2 flag of the slave ADC

Source

pub fn awd3_slv(&self) -> AWD3_SLVR

Bit 25 - Analog watchdog 3 flag of the slave ADC

Source

pub fn jqovf_slv(&self) -> JQOVF_SLVR

Bit 26 - Injected Context Queue Overflow flag of the slave ADC

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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> 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> Same for T

Source§

type Output = T

Should always be Self
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.