Struct efm32gg11b_pac::efm32gg11b110::lesense::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 152 fields
pub ctrl: CTRL,
pub timctrl: TIMCTRL,
pub perctrl: PERCTRL,
pub decctrl: DECCTRL,
pub biasctrl: BIASCTRL,
pub evalctrl: EVALCTRL,
pub prsctrl: PRSCTRL,
pub cmd: CMD,
pub chen: CHEN,
pub scanres: SCANRES,
pub status: STATUS,
pub ptr: PTR,
pub bufdata: BUFDATA,
pub curch: CURCH,
pub decstate: DECSTATE,
pub sensorstate: SENSORSTATE,
pub idleconf: IDLECONF,
pub altexconf: ALTEXCONF,
pub if_: IF,
pub ifs: IFS,
pub ifc: IFC,
pub ien: IEN,
pub syncbusy: SYNCBUSY,
pub routepen: ROUTEPEN,
pub st0_tconfa: ST0_TCONFA,
pub st0_tconfb: ST0_TCONFB,
pub st1_tconfa: ST1_TCONFA,
pub st1_tconfb: ST1_TCONFB,
pub st2_tconfa: ST2_TCONFA,
pub st2_tconfb: ST2_TCONFB,
pub st3_tconfa: ST3_TCONFA,
pub st3_tconfb: ST3_TCONFB,
pub st4_tconfa: ST4_TCONFA,
pub st4_tconfb: ST4_TCONFB,
pub st5_tconfa: ST5_TCONFA,
pub st5_tconfb: ST5_TCONFB,
pub st6_tconfa: ST6_TCONFA,
pub st6_tconfb: ST6_TCONFB,
pub st7_tconfa: ST7_TCONFA,
pub st7_tconfb: ST7_TCONFB,
pub st8_tconfa: ST8_TCONFA,
pub st8_tconfb: ST8_TCONFB,
pub st9_tconfa: ST9_TCONFA,
pub st9_tconfb: ST9_TCONFB,
pub st10_tconfa: ST10_TCONFA,
pub st10_tconfb: ST10_TCONFB,
pub st11_tconfa: ST11_TCONFA,
pub st11_tconfb: ST11_TCONFB,
pub st12_tconfa: ST12_TCONFA,
pub st12_tconfb: ST12_TCONFB,
pub st13_tconfa: ST13_TCONFA,
pub st13_tconfb: ST13_TCONFB,
pub st14_tconfa: ST14_TCONFA,
pub st14_tconfb: ST14_TCONFB,
pub st15_tconfa: ST15_TCONFA,
pub st15_tconfb: ST15_TCONFB,
pub st16_tconfa: ST16_TCONFA,
pub st16_tconfb: ST16_TCONFB,
pub st17_tconfa: ST17_TCONFA,
pub st17_tconfb: ST17_TCONFB,
pub st18_tconfa: ST18_TCONFA,
pub st18_tconfb: ST18_TCONFB,
pub st19_tconfa: ST19_TCONFA,
pub st19_tconfb: ST19_TCONFB,
pub st20_tconfa: ST20_TCONFA,
pub st20_tconfb: ST20_TCONFB,
pub st21_tconfa: ST21_TCONFA,
pub st21_tconfb: ST21_TCONFB,
pub st22_tconfa: ST22_TCONFA,
pub st22_tconfb: ST22_TCONFB,
pub st23_tconfa: ST23_TCONFA,
pub st23_tconfb: ST23_TCONFB,
pub st24_tconfa: ST24_TCONFA,
pub st24_tconfb: ST24_TCONFB,
pub st25_tconfa: ST25_TCONFA,
pub st25_tconfb: ST25_TCONFB,
pub st26_tconfa: ST26_TCONFA,
pub st26_tconfb: ST26_TCONFB,
pub st27_tconfa: ST27_TCONFA,
pub st27_tconfb: ST27_TCONFB,
pub st28_tconfa: ST28_TCONFA,
pub st28_tconfb: ST28_TCONFB,
pub st29_tconfa: ST29_TCONFA,
pub st29_tconfb: ST29_TCONFB,
pub st30_tconfa: ST30_TCONFA,
pub st30_tconfb: ST30_TCONFB,
pub st31_tconfa: ST31_TCONFA,
pub st31_tconfb: ST31_TCONFB,
pub buf0_data: BUF0_DATA,
pub buf1_data: BUF1_DATA,
pub buf2_data: BUF2_DATA,
pub buf3_data: BUF3_DATA,
pub buf4_data: BUF4_DATA,
pub buf5_data: BUF5_DATA,
pub buf6_data: BUF6_DATA,
pub buf7_data: BUF7_DATA,
pub buf8_data: BUF8_DATA,
pub buf9_data: BUF9_DATA,
pub buf10_data: BUF10_DATA,
pub buf11_data: BUF11_DATA,
pub buf12_data: BUF12_DATA,
pub buf13_data: BUF13_DATA,
pub buf14_data: BUF14_DATA,
pub buf15_data: BUF15_DATA,
pub ch0_timing: CH0_TIMING,
pub ch0_interact: CH0_INTERACT,
pub ch0_eval: CH0_EVAL,
pub ch1_timing: CH1_TIMING,
pub ch1_interact: CH1_INTERACT,
pub ch1_eval: CH1_EVAL,
pub ch2_timing: CH2_TIMING,
pub ch2_interact: CH2_INTERACT,
pub ch2_eval: CH2_EVAL,
pub ch3_timing: CH3_TIMING,
pub ch3_interact: CH3_INTERACT,
pub ch3_eval: CH3_EVAL,
pub ch4_timing: CH4_TIMING,
pub ch4_interact: CH4_INTERACT,
pub ch4_eval: CH4_EVAL,
pub ch5_timing: CH5_TIMING,
pub ch5_interact: CH5_INTERACT,
pub ch5_eval: CH5_EVAL,
pub ch6_timing: CH6_TIMING,
pub ch6_interact: CH6_INTERACT,
pub ch6_eval: CH6_EVAL,
pub ch7_timing: CH7_TIMING,
pub ch7_interact: CH7_INTERACT,
pub ch7_eval: CH7_EVAL,
pub ch8_timing: CH8_TIMING,
pub ch8_interact: CH8_INTERACT,
pub ch8_eval: CH8_EVAL,
pub ch9_timing: CH9_TIMING,
pub ch9_interact: CH9_INTERACT,
pub ch9_eval: CH9_EVAL,
pub ch10_timing: CH10_TIMING,
pub ch10_interact: CH10_INTERACT,
pub ch10_eval: CH10_EVAL,
pub ch11_timing: CH11_TIMING,
pub ch11_interact: CH11_INTERACT,
pub ch11_eval: CH11_EVAL,
pub ch12_timing: CH12_TIMING,
pub ch12_interact: CH12_INTERACT,
pub ch12_eval: CH12_EVAL,
pub ch13_timing: CH13_TIMING,
pub ch13_interact: CH13_INTERACT,
pub ch13_eval: CH13_EVAL,
pub ch14_timing: CH14_TIMING,
pub ch14_interact: CH14_INTERACT,
pub ch14_eval: CH14_EVAL,
pub ch15_timing: CH15_TIMING,
pub ch15_interact: CH15_INTERACT,
pub ch15_eval: CH15_EVAL,
/* private fields */
}
Expand description
Register block
Fields§
§ctrl: CTRL
0x00 - Control Register
timctrl: TIMCTRL
0x04 - Timing Control Register
perctrl: PERCTRL
0x08 - Peripheral Control Register
decctrl: DECCTRL
0x0c - Decoder Control Register
biasctrl: BIASCTRL
0x10 - Bias Control Register
evalctrl: EVALCTRL
0x14 - LESENSE Evaluation Control
prsctrl: PRSCTRL
0x18 - PRS Control Register
cmd: CMD
0x1c - Command Register
chen: CHEN
0x20 - Channel Enable Register
scanres: SCANRES
0x24 - Scan Result Register
status: STATUS
0x28 - Status Register
ptr: PTR
0x2c - Result Buffer Pointers
bufdata: BUFDATA
0x30 - Result Buffer Data Register
curch: CURCH
0x34 - Current Channel Index
decstate: DECSTATE
0x38 - Current Decoder State
sensorstate: SENSORSTATE
0x3c - Decoder Input Register
idleconf: IDLECONF
0x40 - GPIO Idle Phase Configuration
altexconf: ALTEXCONF
0x44 - Alternative Excite Pin Configuration
if_: IF
0x50 - Interrupt Flag Register
ifs: IFS
0x54 - Interrupt Flag Set Register
ifc: IFC
0x58 - Interrupt Flag Clear Register
ien: IEN
0x5c - Interrupt Enable Register
syncbusy: SYNCBUSY
0x60 - Synchronization Busy Register
routepen: ROUTEPEN
0x64 - I/O Routing Register
st0_tconfa: ST0_TCONFA
0x100 - State Transition Configuration a
st0_tconfb: ST0_TCONFB
0x104 - State Transition Configuration B
st1_tconfa: ST1_TCONFA
0x108 - State Transition Configuration a
st1_tconfb: ST1_TCONFB
0x10c - State Transition Configuration B
st2_tconfa: ST2_TCONFA
0x110 - State Transition Configuration a
st2_tconfb: ST2_TCONFB
0x114 - State Transition Configuration B
st3_tconfa: ST3_TCONFA
0x118 - State Transition Configuration a
st3_tconfb: ST3_TCONFB
0x11c - State Transition Configuration B
st4_tconfa: ST4_TCONFA
0x120 - State Transition Configuration a
st4_tconfb: ST4_TCONFB
0x124 - State Transition Configuration B
st5_tconfa: ST5_TCONFA
0x128 - State Transition Configuration a
st5_tconfb: ST5_TCONFB
0x12c - State Transition Configuration B
st6_tconfa: ST6_TCONFA
0x130 - State Transition Configuration a
st6_tconfb: ST6_TCONFB
0x134 - State Transition Configuration B
st7_tconfa: ST7_TCONFA
0x138 - State Transition Configuration a
st7_tconfb: ST7_TCONFB
0x13c - State Transition Configuration B
st8_tconfa: ST8_TCONFA
0x140 - State Transition Configuration a
st8_tconfb: ST8_TCONFB
0x144 - State Transition Configuration B
st9_tconfa: ST9_TCONFA
0x148 - State Transition Configuration a
st9_tconfb: ST9_TCONFB
0x14c - State Transition Configuration B
st10_tconfa: ST10_TCONFA
0x150 - State Transition Configuration a
st10_tconfb: ST10_TCONFB
0x154 - State Transition Configuration B
st11_tconfa: ST11_TCONFA
0x158 - State Transition Configuration a
st11_tconfb: ST11_TCONFB
0x15c - State Transition Configuration B
st12_tconfa: ST12_TCONFA
0x160 - State Transition Configuration a
st12_tconfb: ST12_TCONFB
0x164 - State Transition Configuration B
st13_tconfa: ST13_TCONFA
0x168 - State Transition Configuration a
st13_tconfb: ST13_TCONFB
0x16c - State Transition Configuration B
st14_tconfa: ST14_TCONFA
0x170 - State Transition Configuration a
st14_tconfb: ST14_TCONFB
0x174 - State Transition Configuration B
st15_tconfa: ST15_TCONFA
0x178 - State Transition Configuration a
st15_tconfb: ST15_TCONFB
0x17c - State Transition Configuration B
st16_tconfa: ST16_TCONFA
0x180 - State Transition Configuration a
st16_tconfb: ST16_TCONFB
0x184 - State Transition Configuration B
st17_tconfa: ST17_TCONFA
0x188 - State Transition Configuration a
st17_tconfb: ST17_TCONFB
0x18c - State Transition Configuration B
st18_tconfa: ST18_TCONFA
0x190 - State Transition Configuration a
st18_tconfb: ST18_TCONFB
0x194 - State Transition Configuration B
st19_tconfa: ST19_TCONFA
0x198 - State Transition Configuration a
st19_tconfb: ST19_TCONFB
0x19c - State Transition Configuration B
st20_tconfa: ST20_TCONFA
0x1a0 - State Transition Configuration a
st20_tconfb: ST20_TCONFB
0x1a4 - State Transition Configuration B
st21_tconfa: ST21_TCONFA
0x1a8 - State Transition Configuration a
st21_tconfb: ST21_TCONFB
0x1ac - State Transition Configuration B
st22_tconfa: ST22_TCONFA
0x1b0 - State Transition Configuration a
st22_tconfb: ST22_TCONFB
0x1b4 - State Transition Configuration B
st23_tconfa: ST23_TCONFA
0x1b8 - State Transition Configuration a
st23_tconfb: ST23_TCONFB
0x1bc - State Transition Configuration B
st24_tconfa: ST24_TCONFA
0x1c0 - State Transition Configuration a
st24_tconfb: ST24_TCONFB
0x1c4 - State Transition Configuration B
st25_tconfa: ST25_TCONFA
0x1c8 - State Transition Configuration a
st25_tconfb: ST25_TCONFB
0x1cc - State Transition Configuration B
st26_tconfa: ST26_TCONFA
0x1d0 - State Transition Configuration a
st26_tconfb: ST26_TCONFB
0x1d4 - State Transition Configuration B
st27_tconfa: ST27_TCONFA
0x1d8 - State Transition Configuration a
st27_tconfb: ST27_TCONFB
0x1dc - State Transition Configuration B
st28_tconfa: ST28_TCONFA
0x1e0 - State Transition Configuration a
st28_tconfb: ST28_TCONFB
0x1e4 - State Transition Configuration B
st29_tconfa: ST29_TCONFA
0x1e8 - State Transition Configuration a
st29_tconfb: ST29_TCONFB
0x1ec - State Transition Configuration B
st30_tconfa: ST30_TCONFA
0x1f0 - State Transition Configuration a
st30_tconfb: ST30_TCONFB
0x1f4 - State Transition Configuration B
st31_tconfa: ST31_TCONFA
0x1f8 - State Transition Configuration a
st31_tconfb: ST31_TCONFB
0x1fc - State Transition Configuration B
buf0_data: BUF0_DATA
0x200 - Scan Results
buf1_data: BUF1_DATA
0x204 - Scan Results
buf2_data: BUF2_DATA
0x208 - Scan Results
buf3_data: BUF3_DATA
0x20c - Scan Results
buf4_data: BUF4_DATA
0x210 - Scan Results
buf5_data: BUF5_DATA
0x214 - Scan Results
buf6_data: BUF6_DATA
0x218 - Scan Results
buf7_data: BUF7_DATA
0x21c - Scan Results
buf8_data: BUF8_DATA
0x220 - Scan Results
buf9_data: BUF9_DATA
0x224 - Scan Results
buf10_data: BUF10_DATA
0x228 - Scan Results
buf11_data: BUF11_DATA
0x22c - Scan Results
buf12_data: BUF12_DATA
0x230 - Scan Results
buf13_data: BUF13_DATA
0x234 - Scan Results
buf14_data: BUF14_DATA
0x238 - Scan Results
buf15_data: BUF15_DATA
0x23c - Scan Results
ch0_timing: CH0_TIMING
0x240 - Scan Configuration
ch0_interact: CH0_INTERACT
0x244 - Scan Configuration
ch0_eval: CH0_EVAL
0x248 - Scan Configuration
ch1_timing: CH1_TIMING
0x250 - Scan Configuration
ch1_interact: CH1_INTERACT
0x254 - Scan Configuration
ch1_eval: CH1_EVAL
0x258 - Scan Configuration
ch2_timing: CH2_TIMING
0x260 - Scan Configuration
ch2_interact: CH2_INTERACT
0x264 - Scan Configuration
ch2_eval: CH2_EVAL
0x268 - Scan Configuration
ch3_timing: CH3_TIMING
0x270 - Scan Configuration
ch3_interact: CH3_INTERACT
0x274 - Scan Configuration
ch3_eval: CH3_EVAL
0x278 - Scan Configuration
ch4_timing: CH4_TIMING
0x280 - Scan Configuration
ch4_interact: CH4_INTERACT
0x284 - Scan Configuration
ch4_eval: CH4_EVAL
0x288 - Scan Configuration
ch5_timing: CH5_TIMING
0x290 - Scan Configuration
ch5_interact: CH5_INTERACT
0x294 - Scan Configuration
ch5_eval: CH5_EVAL
0x298 - Scan Configuration
ch6_timing: CH6_TIMING
0x2a0 - Scan Configuration
ch6_interact: CH6_INTERACT
0x2a4 - Scan Configuration
ch6_eval: CH6_EVAL
0x2a8 - Scan Configuration
ch7_timing: CH7_TIMING
0x2b0 - Scan Configuration
ch7_interact: CH7_INTERACT
0x2b4 - Scan Configuration
ch7_eval: CH7_EVAL
0x2b8 - Scan Configuration
ch8_timing: CH8_TIMING
0x2c0 - Scan Configuration
ch8_interact: CH8_INTERACT
0x2c4 - Scan Configuration
ch8_eval: CH8_EVAL
0x2c8 - Scan Configuration
ch9_timing: CH9_TIMING
0x2d0 - Scan Configuration
ch9_interact: CH9_INTERACT
0x2d4 - Scan Configuration
ch9_eval: CH9_EVAL
0x2d8 - Scan Configuration
ch10_timing: CH10_TIMING
0x2e0 - Scan Configuration
ch10_interact: CH10_INTERACT
0x2e4 - Scan Configuration
ch10_eval: CH10_EVAL
0x2e8 - Scan Configuration
ch11_timing: CH11_TIMING
0x2f0 - Scan Configuration
ch11_interact: CH11_INTERACT
0x2f4 - Scan Configuration
ch11_eval: CH11_EVAL
0x2f8 - Scan Configuration
ch12_timing: CH12_TIMING
0x300 - Scan Configuration
ch12_interact: CH12_INTERACT
0x304 - Scan Configuration
ch12_eval: CH12_EVAL
0x308 - Scan Configuration
ch13_timing: CH13_TIMING
0x310 - Scan Configuration
ch13_interact: CH13_INTERACT
0x314 - Scan Configuration
ch13_eval: CH13_EVAL
0x318 - Scan Configuration
ch14_timing: CH14_TIMING
0x320 - Scan Configuration
ch14_interact: CH14_INTERACT
0x324 - Scan Configuration
ch14_eval: CH14_EVAL
0x328 - Scan Configuration
ch15_timing: CH15_TIMING
0x330 - Scan Configuration
ch15_interact: CH15_INTERACT
0x334 - Scan Configuration
ch15_eval: CH15_EVAL
0x338 - Scan Configuration