PIC16C71X
TABLE 5-1:
Name
PORTA FUNCTIONS
Bit#
Buffer Function
RA0/AN0
bit0
bit1
bit2
bit3
bit4
TTL
TTL
TTL
TTL
ST
Input/output or analog input
RA1/AN1
Input/output or analog input
Input/output or analog input
Input/output or analog input/VREF
RA2/AN2
RA3/AN3/VREF
RA4/T0CKI
Input/output or external clock input for Timer0
Output is open drain type
Legend: TTL = TTL input, ST = Schmitt Trigger input
TABLE 5-2:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Value on:
POR,
BOR
Value on all
other resets
Address Name
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
05h
85h
9Fh
PORTA
TRISA
—
—
—
—
—
—
—
—
—
RA4
RA3
RA2
RA1
RA0
---x 0000 ---u 0000
---1 1111 ---1 1111
PORTA Data Direction Register
ADCON1
—
—
—
PCFG1 PCFG0 ---- --00 ---- --00
Legend: x= unknown, u= unchanged, -= unimplemented locations read as '0'. Shaded cells are not used by PORTA.
DS30272A-page 26
1997 Microchip Technology Inc.