[][src]Struct atsame54p::adc0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    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,
    // some fields omitted
}

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.