English
Language : 

PIC17C7XX Datasheet, PDF (88/328 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
Data Bus
RD_PORTH
VDD
D
CK
P
Q
WR_PORTH
Q
D
N
Q CK
RD_DDRH
WR_DDRH
Note: I/O pins have protection diodes to VDD and Vss.
TABLE 10-1: PORTH FUNCTIONS
Name
Bit Buffer Type
RH0
RH1
bit0
ST
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-2: REGISTERS/BITS ASSOCIATED WITH PORTH
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/ RH6/
AN15 AN14
RH5/ RH4/ RH3
AN13 AN12
RH2
RH1
RH0 0000 xxxx 0000 uuuu
15h, Bank 5 ADCON1 ADCS1 ADCS0 ADFM
Legend: x = unknown, u = unchanged.
— PCFG3 PCFG2 PCFG1 PCFG0 000- 0000 000- 0000
DS30289A-page 88
© 1998 Microchip Technology Inc.