PIC16F628-20/SO Microchip Technology, PIC16F628-20/SO Datasheet - Page 118
![IC MCU FLASH 2KX14 COMP 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F628-20/SO
Manufacturer Part Number
PIC16F628-20/SO
Description
IC MCU FLASH 2KX14 COMP 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC16F627-04P.pdf
(170 pages)
Specifications of PIC16F628-20/SO
Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
224Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILAC164010 - MODULE SKT PROMATEII DIP/SOIC
Data Converters
-
Lead Free Status / Rohs Status
Details
Other names
PIC16F628-20/SOR
PIC16F628-20/SOR
PIC16F628-20/SOR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F628-20/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F62X
DS40300C-page 116
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Move W to f
[ label ]
0 ≤ f ≤ 127
(W) → (f)
None
00
Move data from W register to
register 'f'.
1
1
MOVWF
Before Instruction
After Instruction
No Operation
[ label ]
None
No operation
None
00
No operation.
1
1
NOP
REG1 = 0xFF
W
REG1 = 0x4F
W
0000
REG1
0000
MOVWF
NOP
= 0x4F
= 0x4F
1fff
0xx0
f
ffff
0000
Preliminary
OPTION
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Load Option Register
[ label ]
None
(W) → OPTION
None
00
The contents of the W register are
loaded in the OPTION register.
This instruction is supported for
code compatibility with PIC16C5X
products. Since OPTION is a
readable/writable register, the
user can directly address it. Using
only register instruction such as
MOVWF.
1
1
To maintain upward compatibil-
ity with future PICmicro
ucts, do not use this
instruction.
Return from Interrupt
[ label ]
None
TOS → PC,
1 → GIE
None
00
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
RETFIE
After Interrupt
2003 Microchip Technology Inc.
PC = TOS
GIE = 1
0000
OPTION
0000
RETFIE
0110
0000
®
0010
prod-
1001