C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3
SFR Definition 10.4. CPT1MD: Comparator1 Mode Selection
2
SFR Page:
0x89
SFR Address:
R/W
R/W
-
-
CP1RIE
Bit7
Bit6
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.
Mode
0
1
2
3
R/W
R/W
R/W
CP1FIE
Bit5
Bit4
Bit3
CP0MD1
CP0MD0
0
0
0
1
1
0
1
1
Lowest Power Consumption
R/W
R/W
-
-
CP1MD1 CP1MD0 00000010
Bit2
Bit1
Notes
Fastest Response Time
—
—
Rev. 1.4
R/W
Reset Value
Bit0
125
Need help?
Do you have a question about the C8051F12 Series and is the answer not in the manual?
Questions and answers