PIC16C62B/72A
TABLE 3-1
Name
PORTA FUNCTIONS
Bit#
Buffer Function
RA0/AN0
bit0
bit1
bit2
bit3
TTL
TTL
TTL
TTL
Input/output or analog input(1)
Input/output or analog input(1)
Input/output or analog input(1)
Input/output or analog input(1) or VREF
RA1/AN1
RA2/AN2
(1)
RA3/AN3/VREF
Input/output or external clock input for Timer0
Output is open drain type
Input/output or slave select input for synchronous serial port or analog input(1)
RA4/T0CKI
bit4
bit5
ST
RA5/SS/AN4
TTL
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1: The PIC16C62B does not implement the A/D module.
TABLE 3-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
PORTA
(for PIC16C72A only)
—
—
—
—
RA5
RA5
RA4
RA4
RA3
RA3
RA2
RA2
RA1
RA1
RA0
RA0
--0x 0000 --0u 0000
--xx xxxx --uu uuuu
--11 1111 --11 1111
05h
PORTA
(for PIC16C62B only)
85h
9Fh
TRISA
—
—
—
—
PORTA Data Direction Register
(1)
ADCON1
—
—
—
PCFG2 PCFG1 PCFG0 ---- -000 ---- -000
Legend: x= unknown, u= unchanged, -= unimplemented locations read as ’0’. Shaded cells are not used by PORTA.
Note 1: The PIC16C62B does not implement the A/D module. Maintain this register clear.
DS35008B-page 20
Preliminary
1999 Microchip Technology Inc.