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

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第28页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第29页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第30页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第31页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第33页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第34页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第35页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第36页  
PIC17C4X  
6.2.1  
GENERAL PURPOSE REGISTER (GPR)  
6.2  
Data Memory Organization  
All devices have some amount of GPR area.The GPRs  
are 8-bits wide. When the GPR area is greater than  
232, it must be banked to allow access to the additional  
memory space.  
Data memory is partitioned into two areas. The first is  
the General Purpose Registers (GPR) area, while the  
second is the Special Function Registers (SFR) area.  
The SFRs control the operation of the device.  
Only the PIC17C43 and PIC17C44 devices have  
banked memory in the GPR area.To facilitate switching  
between these banks, the MOVLR bankinstruction has  
been added to the instruction set. GPRs are not initial-  
ized by a Power-on Reset and are unchanged on all  
other resets.  
Portions of data memory are banked, this is for both  
areas. The GPR area is banked to allow greater than  
232 bytes of general purpose RAM. SFRs are for the  
registers that control the peripheral functions. Banking  
requires the use of control bits for bank selection.  
These control bits are located in the Bank Select Reg-  
ister (BSR). If an access is made to a location outside  
this banked region, the BSR bits are ignored.  
Figure 6-5 shows the data memory map organization  
for the PIC17C42 and Figure 6-6 for all of the other  
PIC17C4X devices.  
6.2.2  
SPECIAL FUNCTION REGISTERS (SFR)  
The SFRs are used by the CPU and peripheral func-  
tions to control the operation of the device (Figure 6-5  
and Figure 6-6). These registers are static RAM.  
Instructions MOVPF and MOVFP provide the means to  
move values from the peripheral area (“P”) to any loca-  
tion in the register file (“F”), and vice-versa. The defini-  
tion of the “P” range is from 0h to 1Fh, while the “F”  
range is 0h to FFh. The “P” range has six more loca-  
tions than peripheral registers (eight locations for the  
PIC17C42 device) which can be used as General Pur-  
pose Registers.This can be useful in some applications  
where variables need to be copied to other locations in  
the general purpose RAM (such as saving status infor-  
mation during an interrupt).  
The SFRs can be classified into two sets, those associ-  
ated with the “core” function and those related to the  
peripheral functions. Those registers related to the  
“core” are described here, while those related to a  
peripheral feature are described in the section for each  
peripheral feature.  
The peripheral registers are in the banked portion of  
memory, while the core registers are in the unbanked  
region. To facilitate switching between the peripheral  
banks, the MOVLB bankinstruction has been provided.  
The entire data memory can be accessed either directly  
or indirectly through file select registers FSR0 and  
FSR1 (Section 6.4). Indirect addressing uses the  
appropriate control bits of the BSR for accesses into the  
banked areas of data memory.The BSR is explained in  
greater detail in Section 6.8.  
DS30412C-page 32  
1996 Microchip Technology Inc.  
 复制成功!