欢迎访问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文件第104页浏览型号7906的Datasheet PDF文件第105页浏览型号7906的Datasheet PDF文件第106页浏览型号7906的Datasheet PDF文件第107页浏览型号7906的Datasheet PDF文件第109页浏览型号7906的Datasheet PDF文件第110页浏览型号7906的Datasheet PDF文件第111页浏览型号7906的Datasheet PDF文件第112页  
TIMER A  
7.2 Block description  
7.2.1 Counter and Reload register (timer Ai register)  
Each of timer Ai counter and reload register consists of 16 bits.  
Countdown in the counter is performed each time the count source is input. In the event counter mode,  
it can also function as an up-counter.  
The reload register is used to store the initial value of the counter. When a counter underflow or overflow  
occurs, the reload registers contents are reloaded into the counter.  
A value is set to the counter and reload register by writing the value to the timer Ai register. Table 7.2.1  
lists the memory assignment of the timer Ai register.  
The value written into the timer Ai register while counting is not in progress is set to the counter and reload  
register. The value written into the timer Ai register while counting is in progress is set only to the reload  
register. In this case, the reload registers updated contents are transferred to the counter at the next  
reload time. The value obtained when reading out the timer Ai register varies according to the operating  
mode. Table 7.2.2 lists reading from and writing to the timer Ai register.  
Table 7.2.1 Memory assignment of timer Ai register  
Timer Ai register High-order byte  
Low-order byte  
Address 4616  
Address 4816  
Address 4A16  
Address 4C16  
Address 4E16  
Address C616  
Address C816  
Address CA16  
Address CC16  
Address CE16  
Timer A0 register  
Timer A1 register  
Timer A2 register  
Timer A3 register  
Timer A4 register  
Timer A5 register  
Timer A6 register  
Timer A7 register  
Timer A8 register  
Timer A9 register  
Address 4716  
Address 4916  
Address 4B16  
Address 4D16  
Address 4F16  
Address C716  
Address C916  
Address CB16  
Address CD16  
Address CF16  
Note: At reset, the contents of the timer Ai register  
are undefined.  
Table 7.2.2 Reading from and writing to timer Ai register  
Operating mode  
Read  
Write  
<While counting>  
Timer mode  
Counter value is read out.  
(Note 1)  
Written only to reload register.  
<While not counting>  
Written to both of the counter  
and reload register.  
Event counter mode  
One-shot pulse mode  
Undefined value is read out.  
Pulse width modulation (PWM) mode  
Notes 1: Also refer to sections “[Precautions for timer mode]” and “[Precautions for event counter  
mode].”  
2: When reading from and writing to the timer Ai register, perform it in a unit of 16 bits.  
3: Each of timers A3 and A5 to A8 is equipped with the timer mode only.  
7906 Group Users Manual Rev.2.0  
7-5  
 复制成功!