Struct efr32xg12p::lesense::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { 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, // some fields omitted }
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