PIC16F684-ISL

Manufacturer Part NumberPIC16F684-ISL
ManufacturerMicrochip Technology Inc.
PIC16F684-ISL datasheets
 


Specifications of PIC16F684-ISL

CaseN/ANotesNEW
Date_code11+  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Page 51
52
Page 52
53
Page 53
54
Page 54
55
Page 55
56
Page 56
57
Page 57
58
Page 58
59
Page 59
60
Page 60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
Page 59/164

Download datasheet (3Mb)Embed
PrevNext
8.3
Comparator Configuration
There are eight modes of operation for the compara-
tors. The CMCON0 register is used to select these
modes. Figure 8-3 shows the eight possible modes.
FIGURE 8-3:
COMPARATOR I/O OPERATING MODES
Comparators Reset (POR Default Value)
CM<2:0> = 000
V
-
A
IN
RA1/AN1
C1
V
+
IN
A
RA0/AN0
V
-
A
IN
RC1/AN5
C2
V
+
IN
A
RC0/AN4
Two Independent Comparators
CM<2:0> = 100
V
-
A
IN
RA1/AN1
C1
V
+
IN
A
RA0/AN0
V
-
A
IN
RC1/AN5
C2
V
+
IN
A
RC0/AN4
Two Common Reference Comparators
CM<2:0> = 011
V
-
A
IN
RA1/AN1
C1
V
+
IN
D
RA0/AN0
V
-
A
IN
RC1/AN5
C2
V
+
IN
A
RC0/AN4
One Independent Comparator
CM<2:0> = 101
V
-
D
IN
RA1/AN1
C1
V
+
IN
D
RA0/AN0
V
-
A
IN
RC1/AN5
C2
V
+
IN
A
RC0/AN4
Legend: A = Analog Input, ports always read ‘0’
D = Digital Input
 2004 Microchip Technology Inc.
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Section 15.0 “Electrical
Specifications”.
Note:
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
Comparators Off (Lowest Power)
CM<2:0> = 111
D
RA1/AN1
Off
(Read as ‘0’)
D
RA0/AN0
D
RC1/AN5
Off
(Read as ‘0’)
D
RC0/AN4
Four Inputs Multiplexed to Two Comparators
CM<2:0> = 010
A
RA1/AN1
A
C1OUT
RA0/AN0
A
RC1/AN5
A
RC0/AN4
C2OUT
Two Common Reference Comparators with Outputs
CM<2:0> = 110
A
RA1/AN1
C1OUT
D
RA2/C1OUT
A
RC1/AN5
C2OUT
A
RC0/AN4
RC4/C2OUT
Three Inputs Multiplexed to Two Comparators
CM<2:0> = 001
A
RA1/AN1
Off
(Read as ‘0’)
A
RA0/AN0
A
RC1/AN5
C2OUT
A
RC0/AN4
CIS (CMCON0<3>) is the Comparator Input Switch
Preliminary
PIC16F684
V
-
IN
Off
C1
(Read as ‘0’)
V
+
IN
V
-
IN
Off
C2
(Read as ‘0’)
V
+
IN
CIS = 0
V
-
IN
CIS = 1
C1OUT
C1
V
+
IN
V
-
CIS = 0
IN
CIS = 1
C2OUT
C2
V
+
IN
CV
From
Module
REF
V
-
IN
C1OUT
C1
V
+
IN
V
-
IN
C2OUT
C2
V
+
IN
CIS = 0
V
-
IN
CIS = 1
C1OUT
C1
V
+
IN
V
-
IN
C2OUT
C2
V
+
IN
DS41202C-page 57