PIC18F2221 MICROCHIP [Microchip Technology], PIC18F2221 Datasheet - Page 51

no-image

PIC18F2221

Manufacturer Part Number
PIC18F2221
Description
28/40/44-Pin 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:
PIC18F2221-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC18F2221-I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
PIC18F2221-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2221T-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
TABLE 4-4:
© 2007 Microchip Technology Inc.
TOSU
TOSH
TOSL
STKPTR
PCLATU
PCLATH
PCL
TBLPTRU
TBLPTRH
TBLPTRL
TABLAT
PRODH
PRODL
INTCON
INTCON2
INTCON3
INDF0
POSTINC0
POSTDEC0
PREINC0
PLUSW0
FSR0H
FSR0L
WREG
INDF1
POSTINC1
POSTDEC1
PREINC1
PLUSW1
Legend: u = unchanged, x = unknown, - = unimplemented bit, read as ‘0’, q = value depends on condition.
Note 1:
Register
2:
3:
4:
5:
Shaded cells indicate conditions do not apply for the designated device.
One or more bits in the INTCONx or PIRx registers will be affected (to cause wake-up).
When the wake-up is due to an interrupt and the GIEL or GIEH bit is set, the PC is loaded with the interrupt
vector (0008h or 0018h).
When the wake-up is due to an interrupt and the GIEL or GIEH bit is set, the TOSU, TOSH and TOSL are
updated with the current value of the PC. The STKPTR is modified to point to the next location in the
hardware stack.
See Table 4-3 for Reset value for specific condition.
Bits 6 and 7 of PORTA, LATA and TRISA are enabled, depending on the oscillator mode selected. When
not enabled as PORTA pins, they are disabled and read ‘0’.
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
2221 2321 4221 4321
INITIALIZATION CONDITIONS FOR ALL REGISTERS
Applicable Devices
Brown-out Reset
Power-on Reset,
---0 0000
0000 0000
0000 0000
00-0 0000
--00 0000
0000 0000
0000 0000
--00 0000
0000 0000
0000 0000
0000 0000
xxxx xxxx
xxxx xxxx
0000 000x
1111 -1-1
11-0 0-00
---- 0000
xxxx xxxx
xxxx xxxx
Preliminary
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
PIC18F4321 FAMILY
RESET Instruction,
MCLR Resets,
Stack Resets
---0 0000
0000 0000
0000 0000
uu-0 0000
--00 0000
0000 0000
0000 0000
--00 0000
0000 0000
0000 0000
0000 0000
uuuu uuuu
uuuu uuuu
0000 000u
1111 -1-1
11-0 0-00
---- 0000
uuuu uuuu
uuuu uuuu
WDT Reset,
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Wake-up via WDT
---0 uuuu
uuuu uuuu
uuuu uuuu
uu-u uuuu
--uu uuuu
uuuu uuuu
--uu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu -u-u
uu-u u-uu
---- uuuu
uuuu uuuu
uuuu uuuu
DS39689E-page 49
or Interrupt
PC + 2
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
(2)
(3)
(3)
(3)
(3)
(1)
(1)
(1)

Related parts for PIC18F2221