English
Language : 

PIC17C7XX Datasheet, PDF (86/328 Pages) Microchip Technology – High-Performance 8-Bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
TABLE 10-13: PORTG FUNCTIONS
Name
Bit
RG0/AN3
bit0
RG1/AN2
bit1
RG2/AN1/VREF- bit2
RG3/AN0/VREF+ bit3
RG4/CAP3
bit4
RG5/PWM3
bit5
RG6/RX2/DT2
bit6
Buffer Type
ST
ST
ST
ST
ST
ST
ST
RG7/TX2/CK2
bit7
ST
Legend: ST = Schmitt Trigger input.
Function
Input/Output or analog input 3.
Input/Output or analog input 2.
Input/Output or analog input 1 or the ground reference voltage
Input/Output or analog input 0 or the positive reference voltage
Input/Output or the Capture3 input pin.
Input/Output or the PWM3 output pin.
Input/Output or the USART2 (SCI) Asynchronous Receive or USART2
(SCI) Synchronous Data.
Input/Output or the USART2 (SCI) Asynchronous Transmit or USART2
(SCI) Synchronous Clock.
TABLE 10-14: REGISTERS/BITS ASSOCIATED WITH PORTG
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR,
BOR
MCLR,
WDT
12h, Bank 5 DDRG
Data Direction Register for PORTG
1111 1111
13h, Bank 5 PORTG
RG7/ RG6/
RG5/
TX2/CK2 RX2/DT2 PWM3
RG4/
CAP3
RG3/
AN0
RG2/
AN1
RG1/
AN2
RG0/
AN3
xxxx 0000
15h, Bank 5 ADCON1 ADCS1 ADCS0 ADFM
—
PCFG3 PCFG2 PCFG1 PCFG0 000- 0000
Legend: x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by PORTG.
1111 1111
uuuu 0000
000- 0000
DS30289A-page 86
© 1998 Microchip Technology Inc.