欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F628-20I/P 参数 Datasheet PDF下载

PIC16F628-20I/P图片预览
型号: PIC16F628-20I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 基于闪存的8位CMOS微控制器 [FLASH-Based 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器
文件页数/大小: 160 页 / 1657 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC16F628-20I/P的Datasheet PDF文件第9页浏览型号PIC16F628-20I/P的Datasheet PDF文件第10页浏览型号PIC16F628-20I/P的Datasheet PDF文件第11页浏览型号PIC16F628-20I/P的Datasheet PDF文件第12页浏览型号PIC16F628-20I/P的Datasheet PDF文件第14页浏览型号PIC16F628-20I/P的Datasheet PDF文件第15页浏览型号PIC16F628-20I/P的Datasheet PDF文件第16页浏览型号PIC16F628-20I/P的Datasheet PDF文件第17页  
PIC16F62X
4.0
4.1
MEMORY ORGANIZATION
Program Memory Organization
FIGURE 4-2: PROGRAM MEMORY MAP AND
STACK FOR THE PIC16F628
PC<12:0>
CALL, RETURN
RETFIE, RETLW
The PIC16F62X has a 13-bit program counter capable
of addressing an 8K x 14 program memory space. Only
the first 1K x 14 (0000h - 03FFh) for the PIC16F627
and 2K x 14 (0000h - 07FFh) for the PIC16F628 are
physically implemented. Accessing a location above
these boundaries will cause a wrap-around within the
first 1K x 14 space (PIC16F627) or 2K x 14 space
(PIC16F628). The reset vector is at 0000h and the
interrupt vector is at 0004h (Figure 4-1 and Figure 4-2).
13
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
000h
FIGURE 4-1:
PROGRAM MEMORY MAP
AND STACK FOR THE
PIC16F627
PC<12:0>
Interrupt Vector
CALL, RETURN
RETFIE, RETLW
13
On-chip Program
Memory
0004
0005
Stack Level 1
Stack Level 2
Stack Level 8
Reset Vector
07FFh
0800h
1FFFh
000h
4.2
Interrupt Vector
0004
0005
Data Memory Organization
On-chip Program
Memory
03FFh
0400h
The data memory (Figure 4-3) is partitioned into four
Banks which contain the general purpose registers and
the special function registers. The Special Function
Registers are located in the first 32 locations of each
Bank. Register locations 20-7Fh, A0h-FFh, 120h-14Fh,
170h-17Fh and 1F0h-1FFh are general purpose regis-
ters implemented as static RAM.
The Table below lists how to access the four banks of
registers:
RP1
Bank0
Bank1
Bank2
Bank3
0
0
1
1
RP0
0
1
0
1
1FFFh
Addresses F0h-FFh, 170h-17Fh and 1F0h-1FFh are
implemented as common RAM and mapped back to
addresses 70h-7Fh.
4.2.1
GENERAL PURPOSE REGISTER FILE
The register file is organized as 224 x 8 in the
PIC16F62X. Each is accessed either directly or indi-
rectly through the File Select Register FSR
©
1999 Microchip Technology Inc.
Preliminary
DS40300B-page 13