...the world's most energy friendly microcontrollers
2014-07-02 - Gecko Family - d0001_Rev1.30
360
www.silabs.com
Bit
Name
Reset
Access
Description
10:8
WARMTIME
0x0
RW
Warm-up Time
Set analog comparator warm-up time.
Value
Mode
Description
0
4CYCLES
4 HFPERCLK cycles.
1
8CYCLES
8 HFPERCLK cycles.
2
16CYCLES
16 HFPERCLK cycles.
3
32CYCLES
32 HFPERCLK cycles.
4
64CYCLES
64 HFPERCLK cycles.
5
128CYCLES
128 HFPERCLK cycles.
6
256CYCLES
256 HFPERCLK cycles.
7
512CYCLES
512 HFPERCLK cycles.
7
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
6:4
HYSTSEL
0x0
RW
Hysteresis Select
Select hysteresis level. The hysteresis levels can vary, please see the electrical characteristics for the device for more information.
Value
Mode
Description
0
HYST0
No hysteresis.
1
HYST1
~15 mV hysteresis.
2
HYST2
~22 mV hysteresis.
3
HYST3
~29 mV hysteresis.
4
HYST4
~36 mV hysteresis.
5
HYST5
~43 mV hysteresis.
6
HYST6
~50 mV hysteresis.
7
HYST7
~57 mV hysteresis.
3
GPIOINV
0
RW
Comparator GPIO Output Invert
Set this bit to 1 to invert the comparator alternate function output to GPIO.
Value
Mode
Description
0
NOTINV
The comparator output to GPIO is not inverted.
1
INV
The comparator output to GPIO is inverted.
2
INACTVAL
0
RW
Inactive Value
The value of this bit is used as the comparator output when the comparator is inactive.
Value
Mode
Description
0
LOW
The inactive value is 0.
1
HIGH
The inactive state is 1.
1
MUXEN
0
RW
Input Mux Enable
Enable Input Mux. Setting the EN bit will also enable the input mux.
0
EN
0
RW
Analog Comparator Enable
Enable/disable analog comparator.
23.5.2 ACMPn_INPUTSEL - Input Selection Register
Offset
Bit Position
0x004
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
0x0
0
1
0x00
0x8
0x0
Access
RW
RW
RW
RW
RW
RW
Name
Summary of Contents for EFM32G
Page 505: ......