Rev. 1.3
67
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
SFR Definition 7.6. CPT1MD: Comparator1 Mode Selection
Bits7–6: UNUSED. Read = 00b, Write = don’t care.
Bit5:
CP1RIE: Comparator1 Rising-Edge Interrupt Enable.
0: Comparator1 rising-edge interrupt disabled.
1: Comparator1 rising-edge interrupt enabled.
Bit4:
CP1FIE: Comparator1 Falling-Edge Interrupt Enable.
0: Comparator1 falling-edge interrupt disabled.
1: Comparator1 falling-edge interrupt enabled.
Bits1–0: CP1MD1–CP1MD0: Comparator1 Mode Select.
These bits select the response time for Comparator1.
* See Table 7.1 for response time parameters.
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
SFR Address:
0x9C
Mode
CP1MD1
CP1MD0
CP1 Response Time*
0
0
0
Fastest Response
1
0
1
2
1
0
3
1
1
Lowest Power