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 56/164

Download datasheet (3Mb)Embed
PrevNext
PIC16F684
7.2
Timer2 Interrupt
The Timer2 module has an 8-bit period register, PR2.
Timer2 increments from 00h until it matches PR2 and
then resets to 00h on the next increment cycle. PR2 is
a readable and writable register. The PR2 register is
initialized to FFh upon Reset.
FIGURE 7-1:
TIMER2 BLOCK DIAGRAM
Prescaler
F
/4
OSC
1:1, 1:4, 1:16
2
T2CKPS<1:0>
TABLE 7-1:
REGISTERS ASSOCIATED WITH TIMER2
Addr
Name
Bit 7
Bit 6
Bit 5
0Bh/
INTCON
GIE
PEIE
T0IE
8Bh
0Ch
PIR1
EEIF
ADIF
CCP1IF
11h
TMR2
Holding register for the 8-bit TMR2 register
12h
T2CON
TOUTPS3
TOUTPS2
8Ch
PIE1
EEIE
ADIE
CCP1IE
92h
PR2
Timer2 Module Period register
Legend:
x = unknown, u = unchanged, — = unimplemented, read as ‘0’. Shaded cells are not used by the Timer2 module.
DS41202C-page 54
TMR2
Output
Reset
TMR2
Postscaler
Comparator
1:1 to 1:16
EQ
4
PR2
TOUTPS<3:0>
Bit 4
Bit 3
Bit 2
Bit 1
INTE
RAIE
T0IF
INTF
C2IF
C1IF
OSFIF
TMR2IF
TOUTPS1
TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
C2IE
C1IE
OSFIE
TMR2IE
Preliminary
Sets Flag
bit TMR2IF
Value on
Value on
Bit 0
all other
POR, BOD
Resets
RAIF
0000 0000 0000 0000
TMR1IF
0000 0000 0000 0000
0000 0000 0000 0000
TMR1IE
0000 0000 0000 0000
1111 1111 1111 1111
 2004 Microchip Technology Inc.