Datasheet

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