English
Language : 

PIC17C7XX_13 Datasheet, PDF (90/306 Pages) Microchip Technology – High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
FIGURE 10-18: RH3:RH0 BLOCK DIAGRAM
D
Q
EENN
VDD
D
P
Q CK
Q
D
N
Q CK
Note: I/O pins have protection diodes to VDD and VSS.
Data Bus
RD_PORTH
WR_PORTH
RD_DDRH
WR_DDRH
TABLE 10-15: PORTH FUNCTIONS
Name
Bit Buffer Type
RH0
bit0
ST
RH1
bit1
ST
RH2
bit2
ST
RH3
bit3
ST
RH4/AN12
bit4
ST
RH5/AN13
bit5
ST
RH6/AN14
bit6
ST
RH7/AN15
bit7
ST
Legend: ST = Schmitt Trigger input
Function
Input/output.
Input/output.
Input/output.
Input/output.
Input/output or analog input 12.
Input/output or analog input 13.
Input/output or analog input 14.
Input/output or analog input 15.
TABLE 10-16: REGISTERS/BITS ASSOCIATED WITH PORTH
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
10h, Bank 8 DDRH
Data Direction Register for PORTH
11h, Bank 8 PORTH
RH7/
AN15
RH6/
AN14
RH5/
AN13
RH4/
AN12
15h, Bank 5 ADCON1 ADCS1 ADCS0 ADFM
—
Legend: x = unknown, u = unchanged
Bit 3
RH3
PCFG3
Bit 2
RH2
PCFG2
Bit 1
RH1
PCFG1
Bit 0
Value on
POR,
BOR
MCLR, WDT
1111 1111 1111 1111
RH0 0000 xxxx 0000 uuuu
PCFG0 000- 0000 000- 0000
DS30289C-page 90
 1998-2013 Microchip Technology Inc.