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

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
4.2.3
Each PORTA pin is multiplexed with other functions.
The pins and their combined functions are briefly
described here. For specific information about individ-
ual functions such as the comparator or the A/D, refer
to the appropriate section in this Data Sheet.
4.2.3.1
Figure 4-1 shows the diagram for this pin. The RA0 pin
is configurable to function as one of the following:
• General purpose I/O
• Analog input for the A/D
• Analog input to Comparator 1
• In-Circuit Serial Programming
FIGURE 4-1:
DS41249D-page 38
Data Bus
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
Interrupt-on-
IOCA
IOCA
WR
WR
WR
WR
RD
RD
RD
RD
change
To Comparator
To A/D Converter
D
D
D
D
PORTA PIN DESCRIPTIONS AND
DIAGRAMS
CK
CK
CK
CK
RA0/AN0/C1IN+/ICSPDAT
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RA0
RD PORTA
ANS0
RAPU
ANS0
Q
Q
Q
data
EN
EN
EN
D
D
D
V
DD
Weak
Q1
V
V
DD
SS
I/O pin
Q3
Preliminary
4.2.3.2
Figure 4-1 shows the diagram for this pin. The RA1 pin
is configurable to function as one of the following:
• General purpose I/O
• Analog input for the A/D
• Analog input to Comparators 1 and 2
• Voltage reference input for the A/D
• Buffered or unbuffered voltage reference output
• In-Circuit Serial Programming clock
FIGURE 4-2:
Data Bus
VR
VROE*VREN
CVROE
ANS1
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
Interrupt-on-
IOCA
IOCA
WR
WR
WR
WR
RD
RD
RD
RD
OUT
change
D
D
D
D
CK
To Comparators
To A/D Converter
CK
CK
CK
RA1/AN1/C12IN0-/V
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RA1
RD PORTA
© 2006 Microchip Technology Inc.
RAPU
Q
Q
Q
EN
EN
EN
REF
D
D
D
/ICSPCLK
V
DD
Q1
V
Weak
V
DD
SS
I/O pin
Q3

Related parts for PIC16F785-I/P