Struct efm32gg11b_pac::efm32gg11b840::adc0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 30 fields
pub ctrl: CTRL,
pub cmd: CMD,
pub status: STATUS,
pub singlectrl: SINGLECTRL,
pub singlectrlx: SINGLECTRLX,
pub scanctrl: SCANCTRL,
pub scanctrlx: SCANCTRLX,
pub scanmask: SCANMASK,
pub scaninputsel: SCANINPUTSEL,
pub scannegsel: SCANNEGSEL,
pub cmpthr: CMPTHR,
pub biasprog: BIASPROG,
pub cal: CAL,
pub if_: IF,
pub ifs: IFS,
pub ifc: IFC,
pub ien: IEN,
pub singledata: SINGLEDATA,
pub scandata: SCANDATA,
pub singledatap: SINGLEDATAP,
pub scandatap: SCANDATAP,
pub scandatax: SCANDATAX,
pub scandataxp: SCANDATAXP,
pub aportreq: APORTREQ,
pub aportconflict: APORTCONFLICT,
pub singlefifocount: SINGLEFIFOCOUNT,
pub scanfifocount: SCANFIFOCOUNT,
pub singlefifoclear: SINGLEFIFOCLEAR,
pub scanfifoclear: SCANFIFOCLEAR,
pub aportmasterdis: APORTMASTERDIS,
/* private fields */
}
Expand description
Register block
Fields§
§ctrl: CTRL
0x00 - Control Register
cmd: CMD
0x08 - Command Register
status: STATUS
0x0c - Status Register
singlectrl: SINGLECTRL
0x10 - Single Channel Control Register
singlectrlx: SINGLECTRLX
0x14 - Single Channel Control Register Continued
scanctrl: SCANCTRL
0x18 - Scan Control Register
scanctrlx: SCANCTRLX
0x1c - Scan Control Register Continued
scanmask: SCANMASK
0x20 - Scan Sequence Input Mask Register
scaninputsel: SCANINPUTSEL
0x24 - Input Selection Register for Scan Mode
scannegsel: SCANNEGSEL
0x28 - Negative Input Select Register for Scan
cmpthr: CMPTHR
0x2c - Compare Threshold Register
biasprog: BIASPROG
0x30 - Bias Programming Register for Various Analog Blocks Used in ADC Operation
cal: CAL
0x34 - Calibration Register
if_: IF
0x38 - Interrupt Flag Register
ifs: IFS
0x3c - Interrupt Flag Set Register
ifc: IFC
0x40 - Interrupt Flag Clear Register
ien: IEN
0x44 - Interrupt Enable Register
singledata: SINGLEDATA
0x48 - Single Conversion Result Data
scandata: SCANDATA
0x4c - Scan Conversion Result Data
singledatap: SINGLEDATAP
0x50 - Single Conversion Result Data Peek Register
scandatap: SCANDATAP
0x54 - Scan Sequence Result Data Peek Register
scandatax: SCANDATAX
0x68 - Scan Sequence Result Data + Data Source Register
scandataxp: SCANDATAXP
0x6c - Scan Sequence Result Data + Data Source Peek Register
aportreq: APORTREQ
0x7c - APORT Request Status Register
aportconflict: APORTCONFLICT
0x80 - APORT Conflict Status Register
singlefifocount: SINGLEFIFOCOUNT
0x84 - Single FIFO Count Register
scanfifocount: SCANFIFOCOUNT
0x88 - Scan FIFO Count Register
singlefifoclear: SINGLEFIFOCLEAR
0x8c - Single FIFO Clear Register
scanfifoclear: SCANFIFOCLEAR
0x90 - Scan FIFO Clear Register
aportmasterdis: APORTMASTERDIS
0x94 - APORT Bus Master Disable Register