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

PIC18LF6620-I/PT 参数 Datasheet PDF下载

PIC18LF6620-I/PT图片预览
型号: PIC18LF6620-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 八十〇分之六十四引脚高性能1 Mbit的增强型闪存微控制器与A / D [64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D]
分类和应用: 闪存微控制器和处理器外围集成电路PC时钟
文件页数/大小: 366 页 / 6797 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第60页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第61页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第62页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第63页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第65页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第66页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第67页浏览型号PIC18LF6620-I/PT的Datasheet PDF文件第68页  
PIC18FXX20  
FIGURE 5-2:  
TABLE WRITE OPERATION  
Instruction: TBLWT*  
Program Memory  
Holding Registers  
(1)  
Table Pointer  
TBLPTRU TBLPTRH TBLPTRL  
Table Latch (8-bit)  
TABLAT  
Program Memory  
(TBLPTR)  
Note 1: Table Pointer actually points to one of eight holding registers, the address of which is determined by  
TBLPTRL<2:0>. The process for physically writing data to the Program Memory Array is discussed in  
Section 5.5.  
The FREE bit, when set, will allow a program memory  
5.2  
Control Registers  
erase operation. When the FREE bit is set, the erase  
Several control registers are used in conjunction with  
the TBLRDand TBLWTinstructions. These include the:  
operation is initiated on the next WR command. When  
FREE is clear, only writes are enabled.  
• EECON1 register  
• EECON2 register  
• TABLAT register  
• TBLPTR registers  
The WREN bit, when set, will allow a write operation.  
On power-up, the WREN bit is clear. The WRERR bit is  
set when a write operation is interrupted by a MCLR  
Reset, or a WDT Time-out Reset during normal opera-  
tion. In these situations, the user can check the  
WRERR bit and rewrite the location. It is necessary to  
reload the data and address registers (EEDATA and  
EEADR), due to RESET values of zero.  
5.2.1  
EECON1 AND EECON2 REGISTERS  
EECON1 is the control register for memory accesses.  
EECON2 is not a physical register. Reading EECON2  
will read all '0's. The EECON2 register is used  
exclusively in the memory write and erase sequences.  
Control bit EEPGD determines if the access will be a  
program or data EEPROM memory access. When  
clear, any subsequent operations will operate on the  
data EEPROM memory. When set, any subsequent  
operations will operate on the program memory.  
Control bit CFGS determines if the access will be to the  
configuration/calibration registers, or to program  
memory/data EEPROM memory. When set, subse-  
quent operations will operate on configuration regis-  
ters, regardless of EEPGD (see “Special Features of  
the CPU”, Section 23.0). When clear, memory  
selection access is determined by EEPGD.  
The WR control bit, WR, initiates write operations. The  
bit cannot be cleared, only set, in software; it is cleared  
in hardware at the completion of the write operation.  
The inability to clear the WR bit in software prevents the  
accidental or premature termination of  
operation.  
a write  
Note: Interrupt flag bit, EEIF in the PIR2 register,  
is set when the write is complete. It must  
be cleared in software.  
DS39609A-page 62  
Advance Information  
2003 Microchip Technology Inc.