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

M30610ECFP 参数 Datasheet PDF下载

M30610ECFP图片预览
型号: M30610ECFP
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片16位CMOS微机 [SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 197 页 / 2650 K
品牌: MITSUBISHI [ Mitsubishi Group ]
 浏览型号M30610ECFP的Datasheet PDF文件第35页浏览型号M30610ECFP的Datasheet PDF文件第36页浏览型号M30610ECFP的Datasheet PDF文件第37页浏览型号M30610ECFP的Datasheet PDF文件第38页浏览型号M30610ECFP的Datasheet PDF文件第40页浏览型号M30610ECFP的Datasheet PDF文件第41页浏览型号M30610ECFP的Datasheet PDF文件第42页浏览型号M30610ECFP的Datasheet PDF文件第43页  
Mitsubishi microcomputers  
M16C / 61 Group  
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER  
Protection  
Protection  
The protection function is provided so that the values in important registers cannot be changed in the event  
that the program runs out of control. Figure 1.12.6 shows the protect register. The values in the processor  
mode register 0 (address 000416), processor mode register 1 (address 000516), system clock control reg-  
ister 0 (address 000616), system clock control register 1 (address 000716) and port P9 direction register  
(address 03F316) can only be changed when the respective bit in the protect register is set to “1”. There-  
fore, important outputs can be allocated to port P9.  
If, after “1” (write-enabled) has been written to the port P9 direction register write-enable bit (bit 2 at address  
000A16), a value is written to any address, the bit automatically reverts to “0” (write-inhibited). However, the  
system clock control registers 0 and 1 write-enable bit (bit 0 at 000A16) and processor mode register 0 and  
1 write-enable bit (bit 1 at 000A16) do not automatically return to “0” after a value has been written to an  
address. The program must therefore be written to return these bits to “0”.  
Protect register  
b7 b6 b5 b4 b3 b2 b1 b0  
Symbol  
PRCR  
Address  
000A16  
When reset  
XXXXX0002  
Bit symbol  
PRC0  
Bit name  
Function  
0 : Write-inhibited  
R W  
Enables writing to system clock  
control registers 0 and 1 (addresses  
1 : Write-enabled  
000616 and 000716  
)
Enables writing to processor mode  
registers 0 and 1 (addresses 000416  
0 : Write-inhibited  
1 : Write-enabled  
PRC1  
PRC2  
and 000516  
)
Enables writing to port P9 direction  
register (address 03F316) (Note)  
0 : Write-inhibited  
1 : Write-enabled  
Nothing is assigned.  
In an attempt to write to these bits, write “0”. The value, if read, turns out to be  
indeterminate.  
Note: Writing a value to an address after “1” is written to this bit returns the bit  
to “0” . Other bits do not automatically return to “0” and they must therefore  
be reset by the program.  
Figure 1.12.6. Protect register  
39  
 复制成功!