欢迎访问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文件第117页浏览型号7906的Datasheet PDF文件第118页浏览型号7906的Datasheet PDF文件第119页浏览型号7906的Datasheet PDF文件第120页浏览型号7906的Datasheet PDF文件第122页浏览型号7906的Datasheet PDF文件第123页浏览型号7906的Datasheet PDF文件第124页浏览型号7906的Datasheet PDF文件第125页  
TIMER A  
7.4 Event counter mode  
7.4 Event counter mode  
Timer Aj (j = 0 to 2, 4, 9) is equipped with the event counter mode. In this mode, the timer counts an external  
signal.  
Tables 7.4.1 and 7.4.2 list the specifications of the event counter mode. Figure 7.4.1 shows the structures  
of the timer Aj register and timer Aj mode register in the event counter mode.  
Each of timers A3, A5 to A8 is not equipped with this mode.  
Table 7.4.1 Specifications of event counter mode (when not using two-phase pulse signal processing  
function)  
Item  
Specifications  
External signal input to the TAjIN pin  
Count source  
The count sources valid edge can be selected from the falling edge  
and the rising edge by software.  
Count operation  
Division ratio  
Countup or countdown can be switched by external signal or software.  
When a counter overflow or underflow occurs, reload registers con-  
tents are reloaded, and counting continues.  
For countdown  
1
(n + 1)  
n: Timer Aj registers set value  
For countup  
1
(FFFF16 n + 1)  
Count start condition  
Count stop condition  
Interrupt request occurrence timing  
TAjIN pins function  
When the count start bit is set to 1.”  
When the count start bit is cleared to 0.”  
When a counter overflow or underflow occurs.  
Count source input  
TAjOUT pins function  
Programmable I/O port pin, pulse output pin, or countup/countdown  
switch signal input pin  
Read from timer Aj register  
Write to timer Aj register  
Counter value can be read out.  
While counting is stopped  
When a value is written to timer Aj register, it is written to both of  
the reload register and counter.  
While counting is in progress  
When a value is written to timer Aj register, it is written only to the  
reload register. (Transferred to the counter at the next reload timing.)  
7906 Group Users Manual Rev.2.0  
7-18