Struct atsaml21e16b::adc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 22 fields
pub ctrla: CTRLA,
pub ctrlb: CTRLB,
pub refctrl: REFCTRL,
pub evctrl: EVCTRL,
pub intenclr: INTENCLR,
pub intenset: INTENSET,
pub intflag: INTFLAG,
pub seqstatus: SEQSTATUS,
pub inputctrl: INPUTCTRL,
pub ctrlc: CTRLC,
pub avgctrl: AVGCTRL,
pub sampctrl: SAMPCTRL,
pub winlt: WINLT,
pub winut: WINUT,
pub gaincorr: GAINCORR,
pub offsetcorr: OFFSETCORR,
pub swtrig: SWTRIG,
pub dbgctrl: DBGCTRL,
pub syncbusy: SYNCBUSY,
pub result: RESULT,
pub seqctrl: SEQCTRL,
pub calib: CALIB,
/* private fields */
}
Expand description
Register block
Fields§
§ctrla: CTRLA
0x00 - Control A
ctrlb: CTRLB
0x01 - Control B
refctrl: REFCTRL
0x02 - Reference Control
evctrl: EVCTRL
0x03 - Event Control
intenclr: INTENCLR
0x04 - Interrupt Enable Clear
intenset: INTENSET
0x05 - Interrupt Enable Set
intflag: INTFLAG
0x06 - Interrupt Flag Status and Clear
seqstatus: SEQSTATUS
0x07 - Sequence Status
inputctrl: INPUTCTRL
0x08 - Input Control
ctrlc: CTRLC
0x0a - Control C
avgctrl: AVGCTRL
0x0c - Average Control
sampctrl: SAMPCTRL
0x0d - Sample Time Control
winlt: WINLT
0x0e - Window Monitor Lower Threshold
winut: WINUT
0x10 - Window Monitor Upper Threshold
gaincorr: GAINCORR
0x12 - Gain Correction
offsetcorr: OFFSETCORR
0x14 - Offset Correction
swtrig: SWTRIG
0x18 - Software Trigger
dbgctrl: DBGCTRL
0x1c - Debug Control
syncbusy: SYNCBUSY
0x20 - Synchronization Busy
result: RESULT
0x24 - Result
seqctrl: SEQCTRL
0x28 - Sequence Control
calib: CALIB
0x2c - Calibration