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

7906 参数 Datasheet PDF下载

7906图片预览
型号: 7906
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 531 页 / 3056 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7906的Datasheet PDF文件第367页浏览型号7906的Datasheet PDF文件第368页浏览型号7906的Datasheet PDF文件第369页浏览型号7906的Datasheet PDF文件第370页浏览型号7906的Datasheet PDF文件第372页浏览型号7906的Datasheet PDF文件第373页浏览型号7906的Datasheet PDF文件第374页浏览型号7906的Datasheet PDF文件第375页  
DEBUG FUNCTION  
17.4 Out-of-address-area detection mode  
17.4 Out-of-address-area detection mode  
When the contents of PG and PC go out of the range of the specified area, an address matching detection  
interrupt request occurs.  
17.4.1 Setting procedure for out-of-address-area detection mode  
Figure 17.4.1 shows an initial setting example for registers relevant to the out-of-address-area detection  
mode.  
Disables interrupts.  
The interrupt disable flag (I) is set to 1.”  
Selection of detect condition  
b7  
b0  
b7  
b0  
Debug control register 1 (Address 6716  
)
0
0
0
0
0
1
0
1
Debug control register 0 (Address 6616  
Selection of out-of-address-area detection  
)
Address compare register access enable bit  
(Note 1)  
0 : Disabled.  
Detect enable bit  
0 : Detection disabled.  
Set the detect enable bit to 1.”  
b7  
b0  
Processing for setting of address compare registers  
Debug control register 0 (Address 6616  
)
1
b7  
b0  
Detect enable bit  
1 : Detection enabled.  
1
1
0
Debug control register 1 (Address 6716  
)
Address compare register access enable bit  
(Note 1)  
1 : Enabled.  
Clear the interrupt disable flag (I) to 0(Note 2).  
Setting of address compare registers  
b23  
b0  
Address compare register 0  
(Addresses 6A16 to 6816  
)
Detection starts.  
The start address of the programming  
area is set here.  
b23  
b0  
Notes 1: Be sure to set this bit to 1immediately before reading from or  
writing to the address compare registers 0, 1. Then, be sure to  
clear this bit to 0immediately after this reading or writing.  
2: This processing is unnecessary when no maskable interrupt is  
used.  
Address compare register 1  
(Addresses 6D16 to 6B16  
)
The last address of the programming  
area is set here.  
Fig. 17.4.1 Initial setting example for registers relevant to out-of-address-area detection mode  
7906 Group Users Manual Rev.2.0  
17-10  
 复制成功!