|
PIC16C745_13 Datasheet, PDF (32/166 Pages) Microchip Technology – 8-Bit CMOS Microcontrollers with USB | |||
|
◁ |
PIC16C745/765
TABLE 5-1: PORTA FUNCTIONS
Name
Function
Input
Type
RA0/AN0
RA0
ST
AN0
AN
RA1/AN1
RA1
ST
AN1
AN
RA2/AN2
RA2
ST
AN2
AN
RA3
ST
RA3/AN3/VREF
AN3
AN
VREF
AN
RA4/T0CKI
RA4
ST
T0CKI
ST
Legend:
RA5/AN4
RA5
ST
AN4
AN
OD = open drain, ST = Schmitt Trigger
Output
Type
Description
CMOS Bi-directional I/O
â
CMOS
â
CMOS
â
CMOS
â
â
OD
â
â
A/D Input
Bi-directional I/O
A/D Input
Bi-directional I/O
A/D Input
Bi-directional I/O
A/D Input
A/D Positive Reference
Bi-directional I/O
Timer 0 Clock Input
Bi-directional I/O
A/D Input
TABLE 5-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
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
â
â
RA5
RA4
RA3
RA2
RA1 RA0 --0x 0000 --0u 0000
85h
TRISA
â
â PORTA Data Direction Register
--11 1111 --11 1111
9Fh
ADCON1 â
â
â
â
â PCFG2 PCFG1 PCFG0 ---- -000 ---- -000
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by PORTA.
DS41124D-page 32
Preliminary
ï£ 1999-2013 Microchip Technology Inc.
|
▷ |