#[repr(C)]
pub struct RegisterBlock {
Show 24 fields pub ctrla: Reg<CTRLA_SPEC>, pub evctrl: Reg<EVCTRL_SPEC>, pub dbgctrl: Reg<DBGCTRL_SPEC>, pub inputctrl: Reg<INPUTCTRL_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub refctrl: Reg<REFCTRL_SPEC>, pub avgctrl: Reg<AVGCTRL_SPEC>, pub sampctrl: Reg<SAMPCTRL_SPEC>, pub winlt: Reg<WINLT_SPEC>, pub winut: Reg<WINUT_SPEC>, pub gaincorr: Reg<GAINCORR_SPEC>, pub offsetcorr: Reg<OFFSETCORR_SPEC>, pub swtrig: Reg<SWTRIG_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub status: Reg<STATUS_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub dseqdata: Reg<DSEQDATA_SPEC>, pub dseqctrl: Reg<DSEQCTRL_SPEC>, pub dseqstat: Reg<DSEQSTAT_SPEC>, pub result: Reg<RESULT_SPEC>, pub ress: Reg<RESS_SPEC>, pub calib: Reg<CALIB_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

evctrl: Reg<EVCTRL_SPEC>

0x02 - Event Control

dbgctrl: Reg<DBGCTRL_SPEC>

0x03 - Debug Control

inputctrl: Reg<INPUTCTRL_SPEC>

0x04 - Input Control

ctrlb: Reg<CTRLB_SPEC>

0x06 - Control B

refctrl: Reg<REFCTRL_SPEC>

0x08 - Reference Control

avgctrl: Reg<AVGCTRL_SPEC>

0x0a - Average Control

sampctrl: Reg<SAMPCTRL_SPEC>

0x0b - Sample Time Control

winlt: Reg<WINLT_SPEC>

0x0c - Window Monitor Lower Threshold

winut: Reg<WINUT_SPEC>

0x0e - Window Monitor Upper Threshold

gaincorr: Reg<GAINCORR_SPEC>

0x10 - Gain Correction

offsetcorr: Reg<OFFSETCORR_SPEC>

0x12 - Offset Correction

swtrig: Reg<SWTRIG_SPEC>

0x14 - Software Trigger

intenclr: Reg<INTENCLR_SPEC>

0x2c - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x2d - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x2e - Interrupt Flag Status and Clear

status: Reg<STATUS_SPEC>

0x2f - Status

syncbusy: Reg<SYNCBUSY_SPEC>

0x30 - Synchronization Busy

dseqdata: Reg<DSEQDATA_SPEC>

0x34 - DMA Sequencial Data

dseqctrl: Reg<DSEQCTRL_SPEC>

0x38 - DMA Sequential Control

dseqstat: Reg<DSEQSTAT_SPEC>

0x3c - DMA Sequencial Status

result: Reg<RESULT_SPEC>

0x40 - Result Conversion Value

ress: Reg<RESS_SPEC>

0x44 - Last Sample Result

calib: Reg<CALIB_SPEC>

0x48 - Calibration

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.