PIC18F2220 MICROCHIP [Microchip Technology], PIC18F2220 Datasheet - Page 105

no-image

PIC18F2220

Manufacturer Part Number
PIC18F2220
Description
28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2220-E/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F2220-I/SO
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC18F2220-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2220T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
TABLE 10-1:
TABLE 10-2:
 2003 Microchip Technology Inc.
PORTA
LATA
TRISA
ADCON1
CMCON
CVRCON
Legend:
Note 1:
RA0/AN0
RA1/AN1
RA2/AN2/V
RA3/AN3/V
RA4/T0CKI/C1OUT
RA5/AN4/SS/LVDIN/C2OUT
OSC2/CLKO/RA6
OSC1/CLKI/RA7
Legend: TTL = TTL input, ST = Schmitt Trigger input
Name
x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTA.
RA7:RA6 and their associated latch and data direction bits are enabled as I/O pins based on oscillator configuration;
otherwise, they are read as ‘0’.
Name
REF
REF
TRISA7
LATA7
CVREN
C2OUT
RA7
Bit 7
-/CV
+
PORTA FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
(1)
(1)
(1)
REF
TRISA6
LATA6
CVROE
C1OUT
RA6
Bit 6
(1)
(1)
(1)
Bit#
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
bit 7
LATA Data Latch Register
PORTA Data Direction Register
VCFG1
C2INV
CVRR
Bit 5
RA5
Buffer
TTL
TTL
TTL
TTL
TTL
TTL
TTL
ST
VCFG0
PIC18F2220/2320/4220/4320
C1INV
Bit 4
RA4
Input/output or analog input.
Input/output or analog input.
Input/output, analog input, V
Input/output, analog input or V
Input/output, external clock input for Timer0 or Comparator 1
output. Output is open-drain type.
Input/output, analog input, Slave Select input for Synchronous
Serial Port, Low-Voltage Detect input or Comparator 2 output.
OSC2, clock output or I/O pin.
OSC1, clock input or I/O pin.
PCFG3
CVR3
Bit 3
RA3
CIS
PCFG2
CVR2
Bit 2
CM2
RA2
PCFG1
CVR1
Bit 1
CM1
RA1
Function
REF
REF
- or Comparator V
PCFG0
CVR0
Bit 0
CM0
RA0
+.
0000 0111 0000 0111
xx0x 0000
xxxx xxxx
1111 1111
--00 0000
000- 0000
POR, BOR
Value on
DS39599C-page 103
REF
output.
uu0u 0000
uuuu uuuu
1111 1111
--00 0000
000- 0000
Value on
all other
Resets

Related parts for PIC18F2220