SFR Definition 7.6. CPT1MD: Comparator1 Mode Selection
R/W
R/W
-
-
CP1RIE
Bit7
Bit6
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.
Mode
CP1MD1
0
1
2
3
* See Table 7.1 for response time parameters.
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
R/W
R/W
R/W
CP1FIE
-
Bit5
Bit4
Bit3
CP1MD0
CP1 Response Time*
0
0
Fastest Response
0
1
1
0
1
1
Lowest Power
Rev. 1.3
R/W
R/W
R/W
-
CP1MD1 CP1MD0 00000010
Bit2
Bit1
Bit0
Reset Value
SFR Address:
0x9C
67
Need help?
Do you have a question about the C8051F341 and is the answer not in the manual?
Questions and answers