PIC16HV785 Microchip Technology Inc., PIC16HV785 Datasheet - Page 45

no-image

PIC16HV785

Manufacturer Part Number
PIC16HV785
Description
20-pin Flash-based 8-bit Cmos Microcontroller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV785-E/ML
Manufacturer:
LEGERITY
Quantity:
100
Part Number:
PIC16HV785-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-I/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
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 PIC16HV785