C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3
SFR Definition 10.2. CPT0MD: Comparator0 Mode Selection
1
SFR Page:
0x89
SFR Address:
R/W
R/W
-
-
CP0RIE
Bit7
Bit6
Bits7–6: UNUSED. Read = 00b, Write = don't care.
Bit 5:
CP0RIE: Comparator 0 Rising-Edge Interrupt Enable Bit.
0: Comparator 0 rising-edge interrupt disabled.
1: Comparator 0 rising-edge interrupt enabled.
Bit 4:
CP0FIE: Comparator 0 Falling-Edge Interrupt Enable Bit.
0: Comparator 0 falling-edge interrupt disabled.
1: Comparator 0 falling-edge interrupt enabled.
Bits3–2: UNUSED. Read = 00b, Write = don't care.
Bits1–0: CP0MD1–CP0MD0: Comparator0 Mode Select
These bits select the response time for Comparator0.
Mode
0
1
2
3
R/W
R/W
R/W
CP0FIE
Bit5
Bit4
Bit3
CP0MD1
CP0MD0
0
0
0
1
1
0
1
1
Lowest Power Consumption
R/W
R/W
-
-
CP0MD1 CP0MD0 00000010
Bit2
Bit1
Notes
Fastest Response Time
—
—
Rev. 1.4
R/W
Reset Value
Bit0
123
Need help?
Do you have a question about the C8051F12 Series and is the answer not in the manual?
Questions and answers