English
Language : 

PIC17C7XX_13 Datasheet, PDF (88/306 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
12h, Bank 5 DDRG
Data Direction Register for PORTG
13h, Bank 5
15h, Bank 5
PORTG
ADCON1
RG7/
TX2/CK2
ADCS1
RG6/
RX2/DT2
ADCS0
RG5/
PWM3
ADFM
RG4/
CAP3
—
RG3/
AN0
PCFG3
RG2/
AN1
PCFG2
RG1/
AN2
PCFG1
RG0/
AN3
PCFG0
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PORTG.
Value on
POR,
BOR
1111 1111
xxxx 0000
000- 0000
MCLR, WDT
1111 1111
uuuu 0000
000- 0000
DS30289C-page 88
 1998-2013 Microchip Technology Inc.