[][src]Struct circuit_playground_express::atsamd21g18a::adc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub ctrla: CTRLA, pub refctrl: REFCTRL, pub avgctrl: AVGCTRL, pub sampctrl: SAMPCTRL, pub ctrlb: CTRLB, pub winctrl: WINCTRL, pub swtrig: SWTRIG, pub inputctrl: INPUTCTRL, pub evctrl: EVCTRL, pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub result: RESULT, pub winlt: WINLT, pub winut: WINUT, pub gaincorr: GAINCORR, pub offsetcorr: OFFSETCORR, pub calib: CALIB, pub dbgctrl: DBGCTRL, // some fields omitted }

Register block

Fields

ctrla: CTRLA

0x00 - Control A

refctrl: REFCTRL

0x01 - Reference Control

avgctrl: AVGCTRL

0x02 - Average Control

sampctrl: SAMPCTRL

0x03 - Sampling Time Control

ctrlb: CTRLB

0x04 - Control B

winctrl: WINCTRL

0x08 - Window Monitor Control

swtrig: SWTRIG

0x0c - Software Trigger

inputctrl: INPUTCTRL

0x10 - Input Control

evctrl: EVCTRL

0x14 - Event Control

intenclr: INTENCLR

0x16 - Interrupt Enable Clear

intenset: INTENSET

0x17 - Interrupt Enable Set

intflag: INTFLAG

0x18 - Interrupt Flag Status and Clear

status: STATUS

0x19 - Status

result: RESULT

0x1a - Result

winlt: WINLT

0x1c - Window Monitor Lower Threshold

winut: WINUT

0x20 - Window Monitor Upper Threshold

gaincorr: GAINCORR

0x24 - Gain Correction

offsetcorr: OFFSETCORR

0x26 - Offset Correction

calib: CALIB

0x28 - Calibration

dbgctrl: DBGCTRL

0x2a - Debug Control

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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