Product Specs

Table Of Contents
39 LPCOMP Low power comparator
Page
407
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
D
0
2
C
0
1
B
0
0
A
0
Id RW Field
Value Id
Value
Description
Clear
1
Disable
Disabled
0
Read: Disabled
Enabled
1
Read: Enabled
D RW CROSS
Write '1' to Disable interrupt for CROSS event
Clear
1
See EVENTS_CROSS
Disable
Disabled
0
Read: Disabled
Enabled
1
Read: Enabled
39.3.4 RESULT
Address offset: 0x400
Compare result
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
A
0
Id RW Field
Value Id
Value
Description
A R RESULT Result of last compare. Decision point SAMPLE task.
Bellow 0 Input voltage is below the reference threshold (VIN+ < VIN-). Deprecated
Below 0 Input voltage is below the reference threshold (VIN+ < VIN-).
Above 1 Input voltage is above the reference threshold (VIN+ > VIN-).
39.3.5 ENABLE
Address offset: 0x500
Enable LPCOMP
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
A
0
0
A
0
Id RW Field
Value Id
Value
Description
A RW ENABLE Enable or disable LPCOMP
Disabled 0 Disable
Enabled 1 Enable
39.3.6 PSEL
Address offset: 0x504
Input pin select
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
A
0
1
A
0
0
A
0
Id RW Field
Value Id
Value
Description
A RW PSEL
Analog pin select
AnalogInput0
0
AIN0 selected as analog input
AnalogInput1
1
AIN1 selected as analog input
AnalogInput2
2
AIN2 selected as analog input
AnalogInput3
3
AIN3 selected as analog input
AnalogInput4
4
AIN4 selected as analog input
AnalogInput5
5
AIN5 selected as analog input
AnalogInput6
6
AIN6 selected as analog input
AnalogInput7
7
AIN7 selected as analog input