
1999 Microchip Technology Inc.
DS40182C-page 25
PIC16CE62X
TABLE 5-1:
PORTA FUNCTIONS
TABLE 5-2:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Name
Bit #
Buffer
Type
Function
RA0/AN0
bit0
ST
Input/output or comparator input
RA1/AN1
bit1
ST
Input/output or comparator input
RA2/AN2/VREF
bit2
ST
Input/output or comparator input or VREF output
RA3/AN3
bit3
ST
Input/output or comparator input/output
RA4/T0CKI
bit4
ST
Input/output or external clock input for TMR0 or comparator output.
Output is open drain type.
Legend: ST = Schmitt Trigger input
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR
Value on
All Other
Resets
05h
PORTA
—
RA4
RA3
RA2
RA1
RA0
---x 0000
---u 0000
85h
TRISA
—
TRISA4
TRISA3
TRISA2
TRISA1
TRISA0
---1 1111
1Fh
CMCON
C2OUT
C1OUT
—
CIS
CM2
CM1
CM0
00-- 0000
9Fh
VRCON
VREN
VROE
VRR
—
VR3
VR2
VR1
VR0
000- 0000
Legend: — = Unimplemented locations, read as ‘0’, x = unknown, u = unchanged
Note:
Shaded bits are not used by PORTA.