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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第111页浏览型号C8051F530-IM的Datasheet PDF文件第112页浏览型号C8051F530-IM的Datasheet PDF文件第113页浏览型号C8051F530-IM的Datasheet PDF文件第114页浏览型号C8051F530-IM的Datasheet PDF文件第116页浏览型号C8051F530-IM的Datasheet PDF文件第117页浏览型号C8051F530-IM的Datasheet PDF文件第118页浏览型号C8051F530-IM的Datasheet PDF文件第119页  
C8051F52x-53x  
SFR Definition 13.1. PSCTL: Program Store R/W Control  
R
-
R
-
R
-
R
-
R
-
R
-
R/W  
PSEE  
Bit1  
R/W  
Reset Value  
PSWE 00000000  
Bit0  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
SFR Address:  
0x8F  
Bits7–2: UNUSED: Read = 000000b, Write = don’t care.  
Bit1:  
PSEE: Program Store Erase Enable  
Setting this bit (in combination with PSWE) allows an entire page of Flash program memory  
to be erased. If this bit is logic 1 and Flash writes are enabled (PSWE is logic 1), a write to  
Flash memory using the MOVX instruction will erase the entire page that contains the loca-  
tion addressed by the MOVX instruction. The value of the data byte written does not matter.  
0: Flash program memory erasure disabled.  
1: Flash program memory erasure enabled.  
Bit0:  
PSWE: Program Store Write Enable  
Setting this bit allows writing a byte of data to the Flash program memory using the MOVX  
write instruction. The Flash location should be erased before writing data.  
0: Writes to Flash program memory disabled.  
1: Writes to Flash program memory enabled; the MOVX write instruction targets Flash  
memory.  
SFR Definition 13.2. FLKEY: Flash Lock and Key  
R/W  
R/W  
Bit6  
R/W  
Bit5  
R/W  
Bit4  
R/W  
Bit3  
R/W  
Bit2  
R/W  
Bit1  
R/W  
Reset Value  
00000000  
Bit7  
Bit0  
SFR Address:  
0xB7  
Bits7–0: FLKEY: Flash Lock and Key Register  
Write:  
This register provides a lock and key function for Flash erasures and writes. Flash writes  
and erases are enabled by writing 0xA5 followed by 0xF1 to the FLKEY register. Flash  
writes and erases are automatically disabled after the next write or erase is complete. If any  
writes to FLKEY are performed incorrectly, or if a Flash write or erase operation is attempted  
while these operations are disabled, the Flash will be permanently locked from writes or era-  
sures until the next device reset. If an application never writes to Flash, it can intentionally  
lock the Flash by writing a non-0xA5 value to FLKEY from software.  
Read:  
When read, bits 10 indicate the current Flash lock state.  
00: Flash is write/erase locked.  
01: The first key code has been written (0xA5).  
10: Flash is unlocked (writes/erases allowed).  
11: Flash writes/erases disabled until the next reset.  
Rev. 0.3  
115  
 复制成功!