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

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
REGISTER 15-2:
TABLE 15-8:
DS41249D-page 122
03h, 103h
83h, 183h
18h
81h/
181h
2007h
Legend:
Note
Address
(1)
1:
STATUS
WDTCON
OPTION_REG
CONFIG
bit 7-5
bit 4-1
bit 0
Shaded cells are not used by the Watchdog Timer.
See Register 15-1 for operation of all Configuration Word bits.
Name
SUMMARY OF WATCHDOG TIMER REGISTERS
WDTCON: WATCHDOG TIMER CONTROL REGISTER (ADDRESS: 18h)
bit 7
Unimplemented: Read as ‘0’
WDTPS<3:0>: Watchdog Timer Period Select bits
Bit Value = Prescale Rate
0000 = 1:32
0001 = 1:64
0010 = 1:128
0011 = 1:256
0100 = 1:512 (Reset value)
0101 = 1:1024
0110 = 1:2048
0111 = 1:4096
1000 = 1:8192
1001 = 1:16384
1010 = 1:32768
1011 = 1:65536
1100 = reserved
1101 = reserved
1110 = reserved
1111 = reserved
SWDTEN: Software Enable or Disable the Watchdog Timer bit
1 = WDT is turned on
0 = WDT is turned off (Reset value)
Legend:
R = Readable bit
-n = Value at POR
Note 1: If WDTE configuration bit = 1, then WDT is always enabled, irrespective of this
RAPU
U-0
Bit 7
CPD
IRP
INTEDG
Bit 6
RP1
control bit. If WDTE configuration bit = 0, then it is possible to turn WDT on/off with
this control bit.
CP
U-0
MCLRE
T0CS
Bit 5
RPO
WDTPS3
U-0
PWRTE
Preliminary
W = Writable bit
‘1’ = Bit is set
T0SE
Bit 4
TO
WDTPS3 WDTPS2 WDTPS1 WDTPS0 SWDTEN
WDTPS2
WDTE
R/W-0
Bit 3
PSA
PD
WSTPS1
FOSC2
Bit 2
PS2
Z
R/W-1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
WDTPS0
FOSC1
Bit 1
PS1
DC
R/W-0
(1)
© 2006 Microchip Technology Inc.
SWDTEN ---0 1000 ---0 1000
FOSC0
Bit 0
PS0
C
x = Bit is unknown
R/W-0
0001 1xxx 000q quuu
1111 1111 1111 1111
uuuu uuuu uuuu uuuu
POR,BOR
Value on:
Value on all
R/W-0
resets
other
bit 0
(1)

Related parts for PIC16F785-I/P