...the world's most energy friendly microcontrollers
2014-07-02 - Tiny Gecko Family - d0034_Rev1.20
376
www.silabs.com
Bit
Name
Reset
Access
Description
Value
Mode
Description
1
LEVEL
Set interrupt flag if the sensor triggers.
2
POSEDGE
Set interrupt flag on positive edge on the sensor state
3
NEGEDGE
Set interrupt flag on negative edge on the sensor state
12
SAMPLE
X
RW
Select sample mode
Select if ACMP output or counter output should be used in comparison
Value
Mode
Description
0
COUNTER
Counter output will be used in comparison
1
ACMP
ACMP output will be used in comparison
11:0
ACMPTHRES
0xXXX
RW
Set ACMP threshold
Select ACMP threshold.
21.5.29 LESENSE_CHx_EVAL - Scan configuration (Async Reg)
For more information about Asynchronous Registers please see Section 5.3 (p. 20) .
Offset
Bit Position
0x2C8
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
X
X
X
X
0xXXXX
Access
RW
RW
RW
RW
RW
Name
Bit
Name
Reset
Access
Description
31:20
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
19
SCANRESINV
X
RW
Enable inversion of result
If set, the bit stored in SCANRES will be inverted.
18
STRSAMPLE
X
RW
Select if counter result should be stored
If set, the counter value will be stored and available in the result buffer
17
DECODE
X
RW
Send result to decoder
If set, the result from this channel will be shifted into the decoder register.
16
COMP
X
RW
Select mode for counter comparison
Set compare mode
CH_INTERACT_SAMPLE
=
COUNTER
Mode
Value
Description
LESS
0
Comparison evaluates to 1 if counter value is less than
COMPTHRES.
GE
1
Comparison evaluates to 1 if counter value is greater than, or equal
to COMPTHRES.
CH_INTERACT_SAMPLE
=
ACMP
LESS
0
Comparison evaluates to 1 if the ACMP output is 0.
GE
1
Comparison evaluates to 1 if the ACMP output is 1.
15:0
COMPTHRES
0xXXXX
RW
Decision threshold for counter
Set counter threshold
Summary of Contents for EFM32TG
Page 543: ......