Adc120

Struct Adc120 

Source
pub struct Adc120 { /* private fields */ }

Implementations§

Source§

impl Adc120

Source

pub const fn adcsr(&self) -> &'static Reg<Adcsr_SPEC, RW>

A/D Control Register

Source

pub const fn adansa0(&self) -> &'static Reg<Adansa0_SPEC, RW>

A/D Channel Select Register A0

Source

pub const fn adansa1(&self) -> &'static Reg<Adansa1_SPEC, RW>

A/D Channel Select Register A1

Source

pub const fn adads0(&self) -> &'static Reg<Adads0_SPEC, RW>

A/D-Converted Value Addition/Average Channel Select Register 0

Source

pub const fn adads1(&self) -> &'static Reg<Adads1_SPEC, RW>

A/D-Converted Value Addition/Average Channel Select Register 1

Source

pub const fn adadc(&self) -> &'static Reg<Adadc_SPEC, RW>

A/D-Converted Value Addition/Average Count Select Register

Source

pub const fn adcer(&self) -> &'static Reg<Adcer_SPEC, RW>

A/D Control Extended Register

Source

pub const fn adstrgr(&self) -> &'static Reg<Adstrgr_SPEC, RW>

A/D Conversion Start Trigger Select Register

Source

pub const fn adexicr(&self) -> &'static Reg<Adexicr_SPEC, RW>

A/D Conversion Extended Input Control Registers

Source

pub const fn adansb0(&self) -> &'static Reg<Adansb0_SPEC, RW>

A/D Channel Select Register B0

Source

pub const fn adansb1(&self) -> &'static Reg<Adansb1_SPEC, RW>

A/D Channel Select Register B1

Source

pub const fn addbldr(&self) -> &'static Reg<Addbldr_SPEC, R>

A/D Data Duplexing Register

Source

pub const fn adtsdr(&self) -> &'static Reg<Adtsdr_SPEC, R>

A/D Temperature Sensor Data Register

Source

pub const fn adocdr(&self) -> &'static Reg<Adocdr_SPEC, R>

A/D Internal Reference Voltage Data Register

Source

pub const fn adrd(&self) -> &'static Reg<Adrd_SPEC, R>

A/D Self-Diagnosis Data Register

Source

pub const fn addr( &self, ) -> &'static ClusterRegisterArray<Reg<Addr_SPEC, R>, 4, 0x2>

A/D Data Registers %s

Source

pub const fn addr19(&self) -> &'static Reg<Addr_SPEC, R>

Source

pub const fn addr20(&self) -> &'static Reg<Addr_SPEC, R>

Source

pub const fn addr21(&self) -> &'static Reg<Addr_SPEC, R>

Source

pub const fn addr22(&self) -> &'static Reg<Addr_SPEC, R>

Source

pub const fn addiscr(&self) -> &'static Reg<Addiscr_SPEC, RW>

A/D Disconnection Detection Control Register

Source

pub const fn adacsr(&self) -> &'static Reg<Adacsr_SPEC, RW>

A/D Conversion Operation Mode Select Register

Source

pub const fn adgspcr(&self) -> &'static Reg<Adgspcr_SPEC, RW>

A/D Group Scan Priority Control Register

Source

pub const fn addbldra(&self) -> &'static Reg<Addbldra_SPEC, R>

A/D Data Duplexing Register A

Source

pub const fn addbldrb(&self) -> &'static Reg<Addbldrb_SPEC, R>

A/D Data Duplexing Register B

Source

pub const fn adhvrefcnt(&self) -> &'static Reg<Adhvrefcnt_SPEC, RW>

A/D High-Potential/Low-Potential Reference Voltage Control Register

Source

pub const fn adwinmon(&self) -> &'static Reg<Adwinmon_SPEC, R>

A/D Compare Function Window A/B Status Monitor Register

Source

pub const fn adcmpcr(&self) -> &'static Reg<Adcmpcr_SPEC, RW>

A/D Compare Function Control Register

Source

pub const fn adcmpanser(&self) -> &'static Reg<Adcmpanser_SPEC, RW>

A/D Compare Function Window A Extended Input Select Register

Source

pub const fn adcmpler(&self) -> &'static Reg<Adcmpler_SPEC, RW>

A/D Compare Function Window A Extended Input Comparison Condition Setting Register

Source

pub const fn adcmpansr0(&self) -> &'static Reg<Adcmpansr0_SPEC, RW>

A/D Compare Function Window A Channel Select Register 0

Source

pub const fn adcmpansr1(&self) -> &'static Reg<Adcmpansr1_SPEC, RW>

A/D Compare Function Window A Channel Select Register 1

Source

pub const fn adcmplr0(&self) -> &'static Reg<Adcmplr0_SPEC, RW>

A/D Compare Function Window A Comparison Condition Setting Register 0

Source

pub const fn adcmplr1(&self) -> &'static Reg<Adcmplr1_SPEC, RW>

A/D Compare Function Window A Comparison Condition Setting Register 1

Source

pub const fn adcmpdr( &self, ) -> &'static ClusterRegisterArray<Reg<Adcmpdr_SPEC, RW>, 2, 0x2>

A/D Compare Function Window A Lower-Side/Upper-Side Level Setting Register

Source

pub const fn adcmpdr0(&self) -> &'static Reg<Adcmpdr_SPEC, RW>

Source

pub const fn adcmpdr1(&self) -> &'static Reg<Adcmpdr_SPEC, RW>

Source

pub const fn adcmpsr0(&self) -> &'static Reg<Adcmpsr0_SPEC, RW>

A/D Compare Function Window A Channel Status Register 0

Source

pub const fn adcmpsr1(&self) -> &'static Reg<Adcmpsr1_SPEC, RW>

A/D Compare Function Window A Channel Status Register1

Source

pub const fn adcmpser(&self) -> &'static Reg<Adcmpser_SPEC, RW>

A/D Compare Function Window A Extended Input Channel Status Register

Source

pub const fn adcmpbnsr(&self) -> &'static Reg<Adcmpbnsr_SPEC, RW>

A/D Compare Function Window B Channel Select Register

Source

pub const fn adwinllb(&self) -> &'static Reg<Adwinllb_SPEC, RW>

A/D Compare Function Window B Lower-Side/Upper-Side Level Setting Register

Source

pub const fn adwinulb(&self) -> &'static Reg<Adwinulb_SPEC, RW>

A/D Compare Function Window B Lower-Side/Upper-Side Level Setting Register

Source

pub const fn adcmpbsr(&self) -> &'static Reg<Adcmpbsr_SPEC, RW>

A/D Compare Function Window B Status Register

Source

pub const fn adsstrl(&self) -> &'static Reg<Adsstrl_SPEC, RW>

A/D Sampling State Register

Source

pub const fn adsstrt(&self) -> &'static Reg<Adsstrt_SPEC, RW>

A/D Sampling State Register

Source

pub const fn adsstro(&self) -> &'static Reg<Adsstro_SPEC, RW>

A/D Sampling State Register

Source

pub const fn adsstr( &self, ) -> &'static ClusterRegisterArray<Reg<Adsstr_SPEC, RW>, 2, 0x1>

A/D Sampling State Register

Source

pub const fn adsstr9(&self) -> &'static Reg<Adsstr_SPEC, RW>

Source

pub const fn adsstr10(&self) -> &'static Reg<Adsstr_SPEC, RW>

Trait Implementations§

Source§

impl Clone for Adc120

Source§

fn clone(&self) -> Adc120

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
Source§

impl PartialEq for Adc120

Source§

fn eq(&self, other: &Adc120) -> 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.
Source§

impl Copy for Adc120

Source§

impl Eq for Adc120

Source§

impl Send for Adc120

12-bit A/D Converter

Source§

impl StructuralPartialEq for Adc120

Source§

impl Sync for Adc120

Auto Trait Implementations§

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.