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

PIC17C752T-25I/P 参数 Datasheet PDF下载

PIC17C752T-25I/P图片预览
型号: PIC17C752T-25I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS微控制器的EPROM [High-Performance 8-Bit CMOS EPROM Microcontrollers]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 320 页 / 2172 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17C752T-25I/P的Datasheet PDF文件第54页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第55页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第56页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第57页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第59页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第60页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第61页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第62页  
PIC17C75X  
8.2.2  
TABLE WRITE CODE  
8.2  
Table Writes to External Memory  
The “i” operand of the TABLWTinstruction can specify  
that the value in the 16-bit TBLPTR register is auto-  
matically incremented (for the next write). In  
Example 8-1, the TBLPTR register is not automatically  
incremented.  
Table writes to external memory are always two-cycle  
instructions. The second cycle writes the data to the  
external memory location. The sequence of events for  
an external memory write are the same for an internal  
write.  
EXAMPLE 8-1: TABLE WRITE  
Note: If an interrupt is pending or occurs during  
the TABLWT, the two cycle table write  
completes. The RA0/INT, TMR0, or  
T0CKI interrupt flag is automatically  
cleared or the pending peripheral inter-  
rupt is acknowledged.  
CLRWDT  
MOVLW  
MOVWF  
MOVLW  
MOVWF  
MOVLW  
TLWT  
; Clear WDT  
HIGH (TBL_ADDR) ; Load the Table  
TBLPTRH  
LOW (TBL_ADDR)  
TBLPTRL  
HIGH (DATA)  
1, WREG  
;
;
;
address  
; Load HI byte  
in TABLATH  
; Load LO byte  
;
MOVLW  
LOW (DATA)  
TABLWT 0,0,WREG  
;
;
;
;
in TABLATH  
and write to  
program memory  
(Ext. SRAM)  
FIGURE 8-5: TABLWT WRITE TIMING (EXTERNAL MEMORY)  
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4  
AD15:AD0  
PC  
PC+1  
TBL  
Data out  
PC+2  
Instruction  
fetched  
TABLWT  
INST (PC+1)  
INST (PC+2)  
INST (PC+1)  
Instruction  
executed  
INST (PC-1)  
TABLWT cycle1  
TABLWT cycle2  
Data write cycle  
ALE  
OE  
'1'  
WR  
Note: If external write, and GLINTD = '1', and Enable bit = '1', then when '1' Flag bit, Do table write.  
The highest pending interrupt is cleared.  
DS30264A-page 58  
Preliminary  
1997 Microchip Technology Inc.  
 
 复制成功!