English
Language : 

PIC18F2221_1 Datasheet, PDF (113/402 Pages) Microchip Technology – Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2221/2321/4221/4321 FAMILY
TABLE 11-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset
Values
on page
PORTA
RA7(1)
RA6(1)
RA5
RA4
RA3
RA2
RA1
RA0
58
LATA
LATA7(1) LATA6(1) PORTA Data Latch Register (Read and Write to Data Latch)
58
TRISA
TRISA7(1) TRISA6(1) PORTA Data Direction Register
58
ADCON1
—
—
VCFG1 VCFG0 PCFG3 PCFG2 PCFG1 PCFG0
57
CMCON
C2OUT C1OUT C2INV C1INV
CIS
CM2
CM1
CM0
57
CVRCON
CVREN CVROE CVRR CVRSS CVR3
CVR2
CVR1
CVR0
57
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTA.
Note 1: RA<7:6> and their associated latch and data direction bits are enabled as I/O pins based on oscillator
configuration; otherwise, they are read as ‘0’.
© 2009 Microchip Technology Inc.
DS39689F-page 113