PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 121

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FIGURE 15-8:
TABLE 15-6:
© 2008 Microchip Technology Inc.
INSTRUCTION FLOW
Name
INTCON
PIE1
PIR1
Legend:
(INTCON<1>)
(INTCON<7>)
Note 1:
CLKOUT
Instruction
Instruction
INTF Flag
Executed
Fetched
INT pin
GIE bit
OSC1
2:
3:
4:
5:
PC
(3)
x = unknown, u = unchanged, – = unimplemented read as ‘0’, q = value depends upon condition. Shaded cells are not
used by the Interrupt module.
INTF flag is sampled here (every Q1).
Asynchronous interrupt latency = 3-4 T
Latency is the same whether Inst (PC) is a single cycle or a 2-cycle instruction.
CLKOUT is available only in INTOSC and RC Oscillator modes.
For minimum width of INT pulse, refer to AC specifications in Section 19.0 “Electrical Specifications”.
INTF is enabled to be set any time during the Q4-Q1 cycles.
EEIE
Bit 7
EEIF
GIE
SUMMARY OF INTERRUPT REGISTERS
Q1
Inst (PC - 1)
Inst (PC)
(1)
INT PIN INTERRUPT TIMING
Q2
ADIE
PEIE
ADIF
Bit 6
PC
Q3
(4)
CCP1IE
CCP1IF
Q4
(5)
Bit 5
T0IE
Q1
Inst (PC + 1)
Inst (PC)
Q2
(1)
INTE
Bit 4
C2IE
C2IF
PC + 1
CY
Q3
. Synchronous latency = 3 T
Q4
RAIE
Bit 3
C1IE
C1IF
Interrupt Latency
Q1
Dummy Cycle
Q2
OSFIE
OSFIF
PC + 1
Bit 2
T0IF
Q3
PIC16F785/HV785
TMR2IE
TMR2IF
Q4
(2)
Bit 1
INTF
CY
, where T
Q1
Dummy Cycle
Inst (0004h)
TMR1IE
TMR1IF
Q2
RAIF
Bit 0
0004h
CY
Q3
= instruction cycle time.
0000 0000
0000 0000
0000 0000
Q4
POR, BOR
Value on
Q1
DS41249E-page 119
Inst (0005h)
Q2
Inst (0004h)
0005h
other Resets
Value on all
0000 0000
0000 0000
0000 0000
Q3
Q4

Related parts for PIC16F785-E/SS