English
Language : 

PIC18FXX20 Datasheet, PDF (123/366 Pages) Microchip Technology – 64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D
PIC18FXX20
TABLE 10-13: PORTG FUNCTIONS
Name
RG0/CCP3
Bit# Buffer Type
bit0
ST
RG1/TX2/CK2
bit1
ST
RG2/RX2/DT2
bit2
ST
RG3/CCP4
bit3
ST
RG4/CCP5
bit4
ST
Legend: ST = Schmitt Trigger input
Function
Input/output port pin or Capture3 input/Compare3 output/
PWM3 output.
Input/output port pin, Addressable USART2 Asynchronous Transmit,
or Addressable USART2 Synchronous Clock.
Input/output port pin, Addressable USART2 Asynchronous Receive,
or Addressable USART2 Synchronous Data.
Input/output port pin or Capture4 input/Compare4 output/
PWM4 output.
Input/output port pin or Capture5 input/Compare5 output/
PWM5 output.
TABLE 10-14: SUMMARY OF REGISTERS ASSOCIATED WITH PORTG
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
PORTG
—
—
— Read PORTF pin/Write PORTF Data Latch
LATG
—
—
— LATG Data Output Register
TRISG
—
—
— Data Direction Control Register for PORTG
Legend: x = unknown, u = unchanged
Value on
POR, BOR
Value on
all other
RESETS
---x xxxx
---x xxxx
---1 1111
---u uuuu
---u uuuu
---1 1111
 2003 Microchip Technology Inc.
Advance Information
DS39609A-page 121