English
Language : 

C8051F850-B-GM Datasheet, PDF (127/290 Pages) Silicon Laboratories – Low-Cost 8-bit MCU Family with up to 8 kB of Flash
C8051F85x/86x
Register 17.5. CPT1MD: Comparator 1 Mode
Bit
7
6
5
4
3
2
1
0
Name CPLOUT Reserved CPRIE
CPFIE
Reserved
CPMD
Type
RW
R
RW
RW
R
RW
Reset
0
0
0
0
0
0
1
0
SFR Address: 0xAB
Table 17.9. CPT1MD Register Bit Descriptions
Bit
Name
Function
7
CPLOUT Comparator 1 Latched Output Flag.
This bit represents the comparator output value at the most recent PCA counter overflow.
0: Comparator output was logic low at last PCA overflow.
1: Comparator output was logic high at last PCA overflow.
6
Reserved Must write reset value.
5
CPRIE Comparator 1 Rising-Edge Interrupt Enable.
0: Comparator Rising-edge interrupt disabled.
1: Comparator Rising-edge interrupt enabled.
4
CPFIE Comparator 1 Falling-Edge Interrupt Enable.
0: Comparator Falling-edge interrupt disabled.
1: Comparator Falling-edge interrupt enabled.
3:2
Reserved Must write reset value.
1:0
CPMD Comparator 1 Mode Select.
These bits affect the response time and power consumption of the comparator.
00: Mode 0 (Fastest Response Time, Highest Power Consumption)
01: Mode 1
10: Mode 2
11: Mode 3 (Slowest Response Time, Lowest Power Consumption)
Preliminary Rev 0.6
131