PIC16LC621-04E/P Microchip Technology, PIC16LC621-04E/P Datasheet - Page 59
![IC MCU OTP 1KX14 COMP 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16LC621-04E/P
Manufacturer Part Number
PIC16LC621-04E/P
Description
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C620A-04SO.pdf
(128 pages)
Specifications of PIC16LC621-04E/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
13
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 59 of 128
- Download datasheet (4Mb)
TABLE 9-6:
9.6
During an interrupt, only the return PC value is saved
on the stack. Typically, users may wish to save key
registers during an interrupt (e.g., W register and
STATUS register). This will have to be implemented in
software.
Example 9-3 stores and restores the STATUS and W
registers. The user register, W_TEMP, must be defined
in both banks and must be defined at the same offset
from the bank base address (i.e., W_TEMP is defined
at 0x20 in Bank 0 and it must also be defined at 0xA0
in Bank 1). The user register, STATUS_TEMP, must be
defined in Bank 0. The Example 9-3:
• Stores the W register
• Stores the STATUS register in Bank 0
• Executes the ISR code
• Restores the STATUS (and bank select bit
• Restores the W register
EXAMPLE 9-3:
2003 Microchip Technology Inc.
Address Name
0Bh
0Ch
8Ch
Note 1: Other (non Power-up) Resets include MCLR Reset, Brown-out Reset and Watchdog Timer Reset during normal
MOVWF
SWAPF
BCF
MOVWF
:
:
:
SWAPF
MOVWF
SWAPF
SWAPF
register)
Context Saving During Interrupts
W_TEMP
STATUS,W
STATUS,RP0
STATUS_TEMP
(ISR)
STATUS_TEMP,
W
STATUS
W_TEMP,F
W_TEMP,W
INTCON
PIR1
PIE1
operation.
SUMMARY OF INTERRUPT REGISTERS
GIE
—
—
Bit 7
SAVING THE STATUS
AND W REGISTERS IN
RAM
;copy W to temp register,
;could be in either bank
;swap status to be saved
into W
;change to bank 0 regardless
;of current bank
;save status to bank 0
;register
;swap STATUS_TEMP register
;into W, sets bank to origi-
nal
;state
;move W into STATUS register
;swap W_TEMP
;swap W_TEMP into W
PEIE
CMIF
CMIE
Bit 6
T0IE
—
—
Bit 5
INTE
—
—
Bit 4
RBIE
—
—
Bit 3
T0IF
—
—
Bit 2
INTF
—
—
Bit 1
RBIF
—
—
Bit 0
PIC16C62X
Value on POR
0000 000x
-0-- ----
-0-- ----
Reset
DS30235J-page 57
Value on all
0000 000u
-0-- ----
-0-- ----
RESETS
other
(1)
Related parts for PIC16LC621-04E/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LC621-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC621-04E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 COMP 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: