Struct atsame54n::adc0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 24 fields
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,
/* private fields */
}
Expand description
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§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more