Struct atsamd51g::adc0::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub ctrla: CTRLA, pub evctrl: EVCTRL, pub dbgctrl: DBGCTRL, pub inputctrl: INPUTCTRL, pub ctrlb: CTRLB, pub refctrl: REFCTRL, pub avgctrl: AVGCTRL, pub sampctrl: SAMPCTRL, pub winlt: WINLT, pub winut: WINUT, pub gaincorr: GAINCORR, pub offsetcorr: OFFSETCORR, pub swtrig: SWTRIG, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub syncbusy: SYNCBUSY, pub dseqdata: DSEQDATA, pub dseqctrl: DSEQCTRL, pub dseqstat: DSEQSTAT, pub result: RESULT, pub ress: RESS, pub calib: CALIB, /* private fields */
}
Expand description

Register block

Fields§

§ctrla: CTRLA

0x00 - Control A

§evctrl: EVCTRL

0x02 - Event Control

§dbgctrl: DBGCTRL

0x03 - Debug Control

§inputctrl: INPUTCTRL

0x04 - Input Control

§ctrlb: CTRLB

0x06 - Control B

§refctrl: REFCTRL

0x08 - Reference Control

§avgctrl: AVGCTRL

0x0a - Average Control

§sampctrl: SAMPCTRL

0x0b - Sample Time Control

§winlt: WINLT

0x0c - Window Monitor Lower Threshold

§winut: WINUT

0x0e - Window Monitor Upper Threshold

§gaincorr: GAINCORR

0x10 - Gain Correction

§offsetcorr: OFFSETCORR

0x12 - Offset Correction

§swtrig: SWTRIG

0x14 - Software Trigger

§intenclr: INTENCLR

0x2c - Interrupt Enable Clear

§intenset: INTENSET

0x2d - Interrupt Enable Set

§intflag: INTFLAG

0x2e - Interrupt Flag Status and Clear

§status: STATUS

0x2f - Status

§syncbusy: SYNCBUSY

0x30 - Synchronization Busy

§dseqdata: DSEQDATA

0x34 - DMA Sequencial Data

§dseqctrl: DSEQCTRL

0x38 - DMA Sequential Control

§dseqstat: DSEQSTAT

0x3c - DMA Sequencial Status

§result: RESULT

0x40 - Result Conversion Value

§ress: RESS

0x44 - Last Sample Result

§calib: CALIB

0x48 - Calibration

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> 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>,

§

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>,

§

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.