Struct atsamd21e18a::adc::RegisterBlock[][src]

#[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

0x00 - Control A

0x01 - Reference Control

0x02 - Average Control

0x03 - Sampling Time Control

0x04 - Control B

0x08 - Window Monitor Control

0x0c - Software Trigger

0x10 - Input Control

0x14 - Event Control

0x16 - Interrupt Enable Clear

0x17 - Interrupt Enable Set

0x18 - Interrupt Flag Status and Clear

0x19 - Status

0x1a - Result

0x1c - Window Monitor Lower Threshold

0x20 - Window Monitor Upper Threshold

0x24 - Gain Correction

0x26 - Offset Correction

0x28 - Calibration

0x2a - Debug Control

Auto Trait Implementations