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

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
4.3.1
Each PORTB 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 PWM, operational amplifier,
or the A/D, refer to the appropriate section in this Data
Sheet.
4.3.1.1
The RB4/AN10/OP2- pin is configurable to function as
one of the following:
• General purpose I/O
• Analog input to the A/D
• Analog input to Op Amp 2
4.3.1.2
The RB5/AN11/OP2+ pin is configurable to function as
one of the following:
• General purpose I/O
• Analog input to the A/D
• Analog input to Op Amp 2
FIGURE 4-7:
© 2006 Microchip Technology Inc.
PORTB
PORTB
Data Bus
TRISB
TRISB
WR
WR
RD
RD
D
D
To Op Amp 2
To A/D Converter
CK
CK
PORTB PIN DESCRIPTIONS AND
DIAGRAMS
RB4/AN10/OP2-
RB5/AN11/OP2+
Q
Q
Q
Q
BLOCK DIAGRAM OF RB4
AND RB5
Q
ANS10 (RB4)
ANS11 (RB5)
EN
D
V
V
DD
SS
I/O Pin
Preliminary
4.3.1.3
The RB6 pin is configurable to function as the following:
• Open drain general purpose I/O
FIGURE 4-8:
4.3.1.4
The RB7/SYNC pin is configurable to function as one
of the following:
• General purpose I/O
• PWM synchronization input and output
FIGURE 4-9:
PORTB
PORTB
PORTB
PORTB
TRISB
TRISB
TRISB
TRISB
Data Bus
PH1EN
PH2EN
PWM Master
Sync out
Data Bus
WR
WR
RD
WR
WR
RD
RD
RD
to PWM Sync Input
PIC16F785/HV785
D
D
D
D
CK
CK
CK
CK
RB6
RB7/SYNC
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RB6
BLOCK DIAGRAM OF RB7
Q
Q
EN
EN
D
D
1
0
DS41249D-page 43
N
V
SS
V
V
V
SS
DD
SS
I/O Pin
I/O Pin

Related parts for PIC16F785-I/P