C8051F50x-F51x
SFR Definition 9.4. CPT1MD: Comparator1 Mode Selection
Bit
7
6
5
4
3
2
1
0
CP1RIE
CP1FIE
CP1MD[1:0]
R/W
Name
Type
Reset
R
0
R
0
R/W
0
R/W
0
R
0
R
0
1
0
SFR Address = 0x9E; SFR Page = 0x00
Bit
7:6
5
Name
Unused
CP1RIE
Function
Read = 00b, Write = Don’t Care.
Comparator1 Rising-Edge Interrupt Enable.
0: Comparator1 Rising-edge interrupt disabled.
1: Comparator1 Rising-edge interrupt enabled.
4
CP1FIE
Unused
Comparator1 Falling-Edge Interrupt Enable.
0: Comparator1 Falling-edge interrupt disabled.
1: Comparator1 Falling-edge interrupt enabled.
3:2
Read = 00b, Write = don’t care.
1:0 CP1MD[1:0] Comparator1 Mode Select.
These bits affect the response time and power consumption for Comparator1.
00: Mode 0 (Fastest Response Time, Highest Power Consumption)
01: Mode 1
10: Mode 2
11: Mode 3 (Slowest Response Time, Lowest Power Consumption)
80
Rev. 1.1