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

PIC24FJ32GA104T-I/PT 参数 Datasheet PDF下载

PIC24FJ32GA104T-I/PT图片预览
型号: PIC24FJ32GA104T-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 44分之28引脚, 16位通用闪存微控制器采用nanoWatt XLP技术 [28/44-Pin, 16-Bit General Purpose Flash Microcontrollers with nanoWatt XLP Technology]
分类和应用: 闪存微控制器
文件页数/大小: 308 页 / 2416 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第45页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第46页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第47页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第48页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第50页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第51页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第52页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第53页  
PIC24FJ64GA104 FAMILY  
2. TBLRDH (Table Read High): In Word mode, it  
maps the entire upper word of a program address  
(P<23:16>) to a data address. Note that  
D<15:8>, the ‘phantom’ byte, will always be ‘0’.  
4.3.2  
DATA ACCESS FROM PROGRAM  
MEMORY USING TABLE  
INSTRUCTIONS  
The TBLRDL and TBLWTL instructions offer a direct  
method of reading or writing the lower word of any  
address within the program space without going through  
data space. The TBLRDHand TBLWTHinstructions are  
the only method to read or write the upper 8 bits of a  
program space word as data.  
In Byte mode, it maps the upper or lower byte of  
the program word to D<7:0> of the data  
address, as above. Note that the data will  
always be ‘0’ when the upper ‘phantom’ byte is  
selected (byte select = 1).  
In a similar fashion, two table instructions, TBLWTH  
and TBLWTL, are used to write individual bytes or  
words to a program space address. The details of  
their operation are explained in Section 5.0 “Flash  
Program Memory”.  
The PC is incremented by two for each successive  
24-bit program word. This allows program memory  
addresses to directly map to data space addresses.  
Program memory can thus be regarded as two, 16-bit  
word-wide address spaces, residing side by side, each  
with the same address range. TBLRDL and TBLWTL  
access the space which contains the least significant  
data word, and TBLRDHand TBLWTHaccess the space  
which contains the upper data byte.  
For all table operations, the area of program memory  
space to be accessed is determined by the Table  
Memory Page Address register (TBLPAG). TBLPAG  
covers the entire program memory space of the  
device, including user and configuration spaces. When  
TBLPAG<7> = 0, the table page is located in the user  
memory space. When TBLPAG<7> = 1, the page is  
located in configuration space.  
Two table instructions are provided to move byte or  
word-sized (16-bit) data to and from program space.  
Both function as either byte or word operations.  
1. TBLRDL (Table Read Low): In Word mode, it  
maps the lower word of the program space  
location (P<15:0>) to a data address (D<15:0>).  
Note:  
Only table read operations will execute in  
the configuration memory space, and only  
then, in implemented areas, such as the  
Device ID. Table write operations are not  
allowed.  
In Byte mode, either the upper or lower byte of  
the lower program word is mapped to the lower  
byte of a data address. The upper byte is  
selected when the byte select is ‘1’; the lower  
byte is selected when it is ‘0’.  
FIGURE 4-6:  
ACCESSING PROGRAM MEMORY WITH TABLE INSTRUCTIONS  
Program Space  
TBLPAG  
02  
Data EA<15:0>  
23  
15  
0
000000h  
23  
16  
8
0
00000000  
00000000  
00000000  
00000000  
020000h  
030000h  
‘Phantom’ Byte  
TBLRDH.B (Wn<0> = 0)  
TBLRDL.B (Wn<0> = 1)  
TBLRDL.B (Wn<0> = 0)  
TBLRDL.W  
The address for the table operation is determined by the data EA  
within the page defined by the TBLPAG register.  
Only read operations are shown; write operations are also valid in  
the user memory area.  
800000h  
2010 Microchip Technology Inc.  
DS39951C-page 49  
 复制成功!