欢迎访问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文件第166页浏览型号7906的Datasheet PDF文件第167页浏览型号7906的Datasheet PDF文件第168页浏览型号7906的Datasheet PDF文件第169页浏览型号7906的Datasheet PDF文件第171页浏览型号7906的Datasheet PDF文件第172页浏览型号7906的Datasheet PDF文件第173页浏览型号7906的Datasheet PDF文件第174页  
TIMER B  
8.5 Pulse period/Pulse width measurement mode  
8.5 Pulse period/Pulse width measurement mode  
In this mode, the timer measures an external signals pulse period or pulse width. Tables 8.5.1 and 8.5.2  
list the specifications of the pulse period/pulse width measurement mode. Figure 8.5.1 shows the structures  
of the timer Bi register and timer Bi mode register in the pulse period/pulse width measurement mode.  
(1) Pulse period measurement  
The timer measures the pulse period of the external signal that is input to the TBiIN pin.  
(2) Pulse width measurement  
The timer measures the pulse width (Llevel and Hlevel widths) of the external signal that is input  
to the TBiIN pin.  
Table 8.5.1 Specifications of pulse period/pulse width measurement mode (when counter clear type is selected)  
Item  
Specifications  
Count source f  
i
f2, f16, f64, or f512  
Count operation  
Countup  
Counter value is transferred to the reload register at valid edge of  
measurement pulse, and counting continues after clearing the counter  
value to 000016.”  
Count start condition  
Count stop condition  
When the count start bit is set to 1.”  
When the count start bit is cleared to 0.”  
Interrupt request occurrence timing When a valid edge of measurement pulse is input (Note 1).  
When a counter overflow occurs (The timer Bi overflow flag is set  
to 1simultaneously.)  
TBiIN pins function  
Measurement pulse input pin (Note 2)  
The value obtained by reading the timer Bi register is the reload  
registers contents (Measurement result) (Note 3).  
Invalid  
Read from timer Bi register  
Write to timer Bi register  
Timer Bi overflow flag: This bit is used to identify the source of an interrupt request occurrence.  
Notes 1: No interrupt request occurs when the first valid edge is input after the counter starts counting.  
2: When using timer B2, make sure that the timer B2 clock source select bit (see Figure 8.4.2.) to  
0.”  
3: The value read out from the timer Bi register is undefined in the period after the counter starts  
counting until the second valid edge is input.  
7906 Group Users Manual Rev.2.0  
8-19