PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 116

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-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
PIC16F785/HV785
TABLE 15-4:
DS41249D-page 114
W
INDF
TMR0
PCL
STATUS
FSR
PORTA
PORTB
PORTC
PCLATH
INTCON
PIR1
TMR1L
TMR1H
T1CON
TMR2
T2CON
CCPR1L
CCPR1H
CCP1CON
WDTCON
ADRESH
ADCON0
OPTION_REG
TRISA
TRISB
TRISC
PIE1
PCON
OSCCON
OSCTUNE
ANSEL0
PR2
ANSEL1
WPUA
IOCA
REFCON
Legend:
Note 1:
Register
2:
3:
4:
5:
6:
7:
u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, q = value depends on condition.
If V
One or more bits in INTCON and/or PIR1 will be affected (to cause wake-up).
When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector (0004h).
See Table 15-5 for Reset value for specific condition.
If Reset was due to brown-out, then bit 0 = 0. All other Resets will cause bit 0 = u.
Analog channels read 0 but data latches are unknown.
Analog channels read 0 but data latches are unchanged.
DD
goes too low, Power-on Reset will be activated and registers will be affected differently.
INITIALIZATION CONDITION FOR REGISTERS
Address
0Ah/8Ah
0Bh/8Bh
00h/80h
02h/82h
03h/83h
04h/84h
0Ch
0Eh
0Fh
1Eh
1Fh
8Ch
8Eh
8Fh
01h
05h
06h
07h
10h
11h
12h
13h
14h
15h
18h
81h
85h
86h
87h
90h
91h
92h
93h
95h
96h
98h
Power-on Reset
xxxx xxxx
xxxx xxxx
xxxx xxxx
0000 0000
0001 1xxx
xxxx xxxx
--x0 x000
xx00 ----
00xx 0000
---0 0000
0000 0000
0000 0000
xxxx xxxx
xxxx xxxx
0000 0000
0000 0000
-000 0000
xxxx xxxx
xxxx xxxx
--00 0000
---0 1000
xxxx xxxx
0000 0000
1111 1111
--11 1111
1111 ----
1111 1111
0000 0000
---1 --0x
-110 q000
---0 0000
1111 1111
1111 1111
---- 1111
--11 1111
--00 0000
--00 000-
(6)
(6)
(6)
Preliminary
Brown-out Reset
---u --uq
000q quuu
--u0 u000
uu00 ----
00uu uuuu
MCLR Reset
uuuu uuuu
xxxx xxxx
uuuu uuuu
0000 0000
uuuu uuuu
---0 0000
0000 0000
0000 0000
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
-000 0000
uuuu uuuu
uuuu uuuu
--00 0000
---0 1000
uuuu uuuu
0000 0000
1111 1111
--11 1111
1111 ----
1111 1111
0000 0000
-110 q000
---u uuuu
1111 1111
1111 1111
---- 1111
--11 1111
WDT Reset
--00 0000
--00 000-
(1,5)
(4)
(7)
(7)
(7)
(1)
Wake-up from Sleep through WDT Time-out
Wake-up from Sleep through interrupt
uuuq quuu
uuuu uuuu
uuuu uuuu
© 2006 Microchip Technology Inc.
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
uuuu ----
uuuu uuuu
---u uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
---u uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
uuuu ----
uuuu uuuu
uuuu uuuu
---u --uu
-uuu uuuu
---u uuuu
uuuu uuuu
1111 1111
---- uuuu
--uu uuuu
--uu uuuu
--uu uuu-
PC + 1
(3)
(4)
(2)
(2)

Related parts for PIC16F785-I/P