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

C8051F310 参数 Datasheet PDF下载

C8051F310图片预览
型号: C8051F310
PDF下载: 下载PDF文件 查看货源
内容描述: 8/16 KB ISP功能的Flash MCU系列 [8/16 kB ISP Flash MCU Family]
分类和应用: 微控制器和处理器
文件页数/大小: 228 页 / 2504 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F310的Datasheet PDF文件第115页浏览型号C8051F310的Datasheet PDF文件第116页浏览型号C8051F310的Datasheet PDF文件第117页浏览型号C8051F310的Datasheet PDF文件第118页浏览型号C8051F310的Datasheet PDF文件第120页浏览型号C8051F310的Datasheet PDF文件第121页浏览型号C8051F310的Datasheet PDF文件第122页浏览型号C8051F310的Datasheet PDF文件第123页  
C8051F310/1/2/3/4/5/6/7
11. External RAM
The C8051F31x devices include 1024 bytes of RAM mapped into the external data memory space. All of
these address locations may be accessed using the external move instruction (MOVX) and the data
pointer (DPTR), or using MOVX indirect addressing mode. If the MOVX instruction is used with an 8-bit
address operand (such as @R1), then the high byte of the 16-bit address is provided by the External Mem-
ory Interface Control Register (EMI0CN as shown in SFR Definition 11.1). Note: the MOVX instruction is
also used for writes to the Flash memory. See
for details. The
MOVX instruction accesses XRAM by default.
For a 16-bit MOVX operation (@DPTR), the upper 6-bits of the 16-bit external data memory address word
are "don't cares.” As a result, the 1024 byte RAM is mapped modulo style over the entire 64 k external
data memory address range. For example, the XRAM byte at address 0x0000 is shadowed at addresses
0x0400, 0x0800, 0x0C00, 0x1000, etc. This is a useful feature when performing a linear memory fill, as the
address pointer doesn't have to be reset when reaching the RAM block boundary.
SFR Definition 11.1. EMI0CN: External Memory Interface Control
R/W
Bit7
R/W
Bit6
R/W
Bit5
R/W
Bit4
R/W
Bit3
R/W
Bit2
R/W
R/W
Reset Value
PGSEL
Bit1
Bit0
00000000
SFR Address:
0xAA
Bits 7–2: UNUSED. Read = 000000b. Write = don’t care.
Bits 1–0: PGSEL: XRAM Page Select.
The EMI0CN register provides the high byte of the 16-bit external data memory address
when using an 8-bit MOVX command, effectively selecting a 256-byte page of RAM. Since
the upper (unused) bits of the register are always zero, the PGSEL determines which page
of XRAM is accessed.
For Example: If EMI0CN = 0x01, addresses 0x0100 through 0x01FF will be accessed.
Rev. 1.7
119