PIC16F684-E/P Microchip Technology Inc., PIC16F684-E/P Datasheet - Page 110

no-image

PIC16F684-E/P

Manufacturer Part Number
PIC16F684-E/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F684-E/P

A/d Inputs
8-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F684
FIGURE 12-8:
TABLE 12-6:
DS41202D-page 108
INTCON
IOCA
PIR1
PIE1
Legend: x = unknown, u = unchanged, – = unimplemented read as ‘0’, q = value depends upon condition.
INSTRUCTION FLOW
Name
GIE bit
(INTCON reg.)
INTF flag
(INTCON reg.)
CLKOUT
INT pin
OSC1
Note 1: INTF flag is sampled here (every Q1).
Instruction
Executed
Instruction
Fetched
PC
2: Asynchronous interrupt latency = 3-4 T
3: CLKOUT is available only in INTOSC and RC Oscillator modes.
4: For minimum width of INT pulse, refer to AC specifications in Section 15.0 “Electrical Specifications”.
5: INTF is enabled to be set any time during the Q4-Q1 cycles.
Shaded cells are not used by the interrupt module.
(3)
EEIE
Bit 7
EEIF
is the same whether Inst (PC) is a single cycle or a 2-cycle instruction.
GIE
SUMMARY OF REGISTERS ASSOCIATED WITH INTERRUPTS
Q1
Inst (PC – 1)
Inst (PC)
(1)
INT PIN INTERRUPT TIMING
Q2
PEIE
ADIF
ADIE
Bit 6
PC
Q3 Q4
(4)
CCP1IF
CCP1IE
IOCA5
(5)
Bit 5
T0IE
Q1
Inst (PC + 1)
Inst (PC)
IOCA4 IOCA3 IOCA2
INTE
Bit 4
C2IF
C2IE
Q2
(1)
PC + 1
Q3 Q4
CY
. Synchronous latency = 3 T
RAIE
Bit 3
C1IF
C1IE
Interrupt Latency
Q1
OSFIE
OSFIF
Dummy Cycle
Bit 2
T0IF
Q2
PC + 1
Q3 Q4
TMR2IF
TMR2IE
IOCA1
INTF
Bit 1
(2)
CY
, where T
Q1
Dummy Cycle
Inst (0004h)
TMR1IF 0000 0000 0000 0000
TMR1IE 0000 0000 0000 0000
IOCA0
Q2
RAIF
Bit 0
0004h
CY
= instruction cycle time. Latency
Q3 Q4
© 2006 Microchip Technology Inc.
0000 0000 0000 0000
--00 0000 --00 0000
POR, BOR
Value on:
Q1
Inst (0005h)
Q2
Inst (0004h)
0005h
Value on
all other
Q3 Q4
Resets

Related parts for PIC16F684-E/P