PIC16LC621-04/SO Microchip Technology, PIC16LC621-04/SO Datasheet - Page 72
![IC MCU OTP 1KX14 COMP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16LC621-04/SO
Manufacturer Part Number
PIC16LC621-04/SO
Description
IC MCU OTP 1KX14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C620A-04SO.pdf
(128 pages)
Specifications of PIC16LC621-04/SO
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
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Core
PIC
Processor Series
PIC16LC
Data Bus Width
8 bit
Maximum Clock Frequency
4 MHz
Data Ram Size
96 B
Data Rom Size
80 B
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2.5 V to 6 V
Mounting Style
SMD/SMT
Height
2.05 mm
Length
11.55 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.5 V
Width
7.5 mm
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
PIC16C62X
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
DS30235J-page 70
Return from Interrupt
[ label ]
None
TOS → PC,
1 → GIE
None
Return from Interrupt. Stack is
POPed and Top of Stack (TOS) is
loaded in the PC. Interrupts are
enabled by setting Global
Interrupt Enable bit, GIE
(INTCON<7>). This is a two-cycle
instruction.
1
2
After Interrupt
00
RETFIE
PC =
GIE =
RETFIE
0000
TOS
1
0000
1001
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
TABLE
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
None
The W register is loaded with the
eight bit literal 'k'. The program
counter is loaded from the top of
the stack (the return address).
This is a two-cycle instruction.
1
2
CALL TABLE;W contains
table
•
•
•
ADDWF PC
RETLW k1
RETLW k2
•
•
•
RETLW kn
Before Instruction
After Instruction
Return from Subroutine
[ label ]
None
TOS → PC
None
Return from subroutine. The stack
is POPed and the top of the stack
(TOS) is loaded into the program
counter. This is a two-cycle
instruction.
1
2
After Interrupt
11
00
RETURN
2003 Microchip Technology Inc.
;offset value
;W now has table value
W
W
PC =
RETLW k
RETURN
01xx
0000
;Begin table
;
; End of table
=
=
;W = offset
0x07
value of k8
TOS
kkkk
0000
kkkk
1000