Datasheet
PIC16C62B/72A
DS35008C-page 20 Preliminary 1998-2013 Microchip Technology Inc.
TABLE 3-1 PORTA FUNCTIONS
TABLE 3-2 SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Name Bit# Buffer Function
RA0/AN0 bit0 TTL Input/output or analog input
(1)
RA1/AN1 bit1 TTL Input/output or analog input
(1)
RA2/AN2 bit2 TTL Input/output or analog input
(1)
RA3/AN3/VREF bit3 TTL Input/output or analog input
(1)
or VREF
(1)
RA4/T0CKI bit4 ST
Input/output or external clock input for Timer0
Output is open drain type
RA5/SS/AN4 bit5 TTL Input/output or slave select input for synchronous serial port or analog input
(1)
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1: The PIC16C62B does not implement the A/D module.
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR,
BOR
Value on all
other resets
05h PORTA
(for PIC16C72A only)
— — RA5 RA4 RA3 RA2 RA1 RA0 --0x 0000 --0u 0000
05h PORTA
(for PIC16C62B only)
— — RA5 RA4 RA3 RA2 RA1 RA0 --xx xxxx --uu uuuu
85h TRISA
— — PORTA Data Direction Register --11 1111 --11 1111
9Fh ADCON1
(1)
— — — — —PCFG2PCFG1PCFG0---- -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.