Struct atsamv71q20b::afec0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 29 fields
pub cr: CR,
pub mr: MR,
pub emr: EMR,
pub seq1r: SEQ1R,
pub seq2r: SEQ2R,
pub cher: CHER,
pub chdr: CHDR,
pub chsr: CHSR,
pub lcdr: LCDR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub isr: ISR,
pub over: OVER,
pub cwr: CWR,
pub cgr: CGR,
pub diffr: DIFFR,
pub cselr: CSELR,
pub cdr: CDR,
pub cocr: COCR,
pub tempmr: TEMPMR,
pub tempcwr: TEMPCWR,
pub acr: ACR,
pub shmr: SHMR,
pub cosr: COSR,
pub cvr: CVR,
pub cecr: CECR,
pub wpmr: WPMR,
pub wpsr: WPSR,
/* private fields */
}
Expand description
Register block
Fields
cr: CR
0x00 - AFEC Control Register
mr: MR
0x04 - AFEC Mode Register
emr: EMR
0x08 - AFEC Extended Mode Register
seq1r: SEQ1R
0x0c - AFEC Channel Sequence 1 Register
seq2r: SEQ2R
0x10 - AFEC Channel Sequence 2 Register
cher: CHER
0x14 - AFEC Channel Enable Register
chdr: CHDR
0x18 - AFEC Channel Disable Register
chsr: CHSR
0x1c - AFEC Channel Status Register
lcdr: LCDR
0x20 - AFEC Last Converted Data Register
ier: IER
0x24 - AFEC Interrupt Enable Register
idr: IDR
0x28 - AFEC Interrupt Disable Register
imr: IMR
0x2c - AFEC Interrupt Mask Register
isr: ISR
0x30 - AFEC Interrupt Status Register
over: OVER
0x4c - AFEC Overrun Status Register
cwr: CWR
0x50 - AFEC Compare Window Register
cgr: CGR
0x54 - AFEC Channel Gain Register
diffr: DIFFR
0x60 - AFEC Channel Differential Register
cselr: CSELR
0x64 - AFEC Channel Selection Register
cdr: CDR
0x68 - AFEC Channel Data Register
cocr: COCR
0x6c - AFEC Channel Offset Compensation Register
tempmr: TEMPMR
0x70 - AFEC Temperature Sensor Mode Register
tempcwr: TEMPCWR
0x74 - AFEC Temperature Compare Window Register
acr: ACR
0x94 - AFEC Analog Control Register
shmr: SHMR
0xa0 - AFEC Sample & Hold Mode Register
cosr: COSR
0xd0 - AFEC Correction Select Register
cvr: CVR
0xd4 - AFEC Correction Values Register
cecr: CECR
0xd8 - AFEC Channel Error Correction Register
wpmr: WPMR
0xe4 - AFEC Write Protection Mode Register
wpsr: WPSR
0xe8 - AFEC Write Protection Status Register