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

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
PIC16F785/HV785
REGISTER 12-1:
REGISTER 12-2:
TABLE 12-2:
DS41249E-page 82
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-4
bit 3-0
Analog
Select
Analog
Channel
I/O Pin
Mode
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and inter-
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and inter-
R/W-1
ANS7
U-0
ANS11
AN11
RB5
rupt-on-change, if available. The corresponding TRIS bit must be set to Input mode in order to allow exter-
nal control of the voltage on the pin. Port reads of pins configured assigned as analog inputs will read as
‘0’.
rupt-on-change, if available. The corresponding TRIS bit must be set to Input mode in order to allow exter-
nal control of the voltage on the pin. Port reads of pins assigned as analog inputs will read as ‘0’.
ANS<7:0>: Analog Select bits
Analog select between analog or digital function on pins AN<7:0>, respectively.
1 = Analog input. Pin is assigned as analog input.
0 = Digital I/O. Pin is assigned to port or special function.
Unimplemented: Read as ‘0’
ANS<11:8>: Analog Select bits
Analog select between analog or digital function on pins AN<11:8>, respectively.
1 = Analog input. Pin is assigned as analog input.
0 = Digital I/O. Pin is assigned to port or special function.
ANALOG SELECT CROSS REFERENCE
ANS10
R/W-1
ANS6
AN10
RB4
U-0
ANSEL1: ANALOG SELECT REGISTER
ANSEL0: ANALOG SELECT REGISTER
ANS9
RC7
AN9
W = Writable bit
W = Writable bit
‘1’ = Bit is set
‘1’ = Bit is set
R/W-1
ANS5
U-0
ANS8
AN8
RC6
ANS7
RC3
AN7
R/W-1
ANS4
U-0
ANS6
AN6
RC2
Reference
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
ANS11
R/W-1
R/W-1
ANS3
ANS5
AN5
RC1
(1)
(1)
ANS4
RC0
AN4
ANS10
R/W-1
R/W-1
ANS2
ANS3
AN3
RA4
© 2008 Microchip Technology Inc.
x = Bit is unknown
x = Bit is unknown
ANS2
R/W-1
R/W-1
ANS1
ANS9
AN2
RA2
ANS1
AN1
RA1
R/W-1
R/W-1
ANS0
ANS8
ANS0
AN0
RA0
bit 0
bit 0

Related parts for PIC16F785-E/SS