C8051F120/1/2/3/4/5/6/7
Rev. 1.2
117
Figure 11.6. CPT1MD: Comparator1 Mode Selection Register
Bits7-6:
UNUSED. Read = 00b, Write = don’t care.
Bit 5:
CP1RIE: Comparator 1 Rising-Edge Interrupt Enable Bit.
0: Comparator 1 rising-edge interrupt disabled.
1: Comparator 1 rising-edge interrupt enabled.
Bit 4:
CP1FIE: Comparator 0 Falling-Edge Interrupt Enable Bit.
0: Comparator 1 falling-edge interrupt disabled.
1: Comparator 1 falling-edge interrupt enabled.
Bits3-2:
UNUSED. Read = 00b, Write = don’t care.
Bits1-0:
CP1MD1-CP1MD0: Comparator1 Mode Select
These bits select the response time for Comparator1.
SFR Page:
SFR Address:
2
0x89
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
-
-
CP1RIE
CP1FIE
-
-
CP1MD1
CP1MD0 00000010
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Mode
CP0MD1
CP0MD0
Notes
0
0
0
Fastest Response Time
1
0
1
-
2
1
0
-
3
1
1
Lowest Power Consumption
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...