| 数据搜索系统,热门电子元器件搜索 |
|
M306V2EEFS 数据表(PDF) 95 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M306V2EEFS 数据表(HTML) 95 Page - Renesas Technology Corp |
|
95 / 271 page ![]() Rev.1.40 Oct 06, 2004 page 95 of 269 M306V2ME-XXXFP, M306V2EEFP Table 2.10.7 Timer specifications in pulse period/pulse width measurement mode Notes 1: An interrupt request is not generated when the first effective edge is input after the timer has started counting. 2: The value read out from the timer Bi register is indeterminate until the second effective edge is input after the timer. (3) Pulse period/pulse width measurement mode In this mode, the timer measures the pulse period or pulse width of an external signal. (See Table 2.10.7) Figure 2.10.23 shows the timer Bi mode register in pulse period/pulse width measurement mode. Figure 2.10.24 shows the operation timing when measuring a pulse period. Figure 2.10.25 shows the operation timing when measuring a pulse width. Item Specification Count source f1, f8, f32, fc32 Count operation • Up count • Counter value “000016” is transferred to reload register at measurement pulse's effective edge and the timer continues counting Count start condition Count start flag is set (= 1) Count stop condition Count start flag is reset (= 0) Interrupt request generation timing • When measurement pulse's effective edge is input (Note 1) • When an overflow occurs. (Simultaneously, the timer Bi overflow flag changes to “1”. The timer Bi overflow flag changes to “0” when the count start flag is “1” and a value is written to the timer Bi mode register.) TBiIN pin function Measurement pulse input Read from timer When timer Bi register is read, it indicates the reload register’s content (measurement result) (Note 2) Write to timer Cannot be written to Figure 2.10.23 Timer Bi mode register in pulse period/pulse width measurement mode (i = 0 to 2) Timer Bi mode register Symbol Address When reset TBiMR(i=0 to 2) 039B16 to 039D16 00?X00002 Bit name Bit symbol W R b7b6 b5 b4 b3 b2 b1 b0 Operation mode select bit 1 0 : Pulse period / pulse width measurement mode b1 b0 TMOD1 TMOD0 MR0 Measurement mode select bit MR2 MR1 MR3 TCK1 TCK0 0 1 0 0 : Pulse period measurement (Interval between measurement pulse's falling edge to falling edge) 0 1 : Pulse period measurement (Interval between measurement pulse's rising edge to rising edge) 1 0 : Pulse width measurement (Interval between measurement pulse's falling edge to rising edge, and between rising edge to falling edge) 1 1 : Inhibited Function b3 b2 Count source select bit Timer Bi overflow flag ( Note 1) 0 : Timer did not overflow 1 : Timer has overflowed 0 0 : f1 0 1 : f8 1 0 : f32 1 1 : fC32 b7 b6 Notes 1: The timer Bi overflow flag changes to “0” when the count start flag is “1” and a value is written to the timer Bi mode register. This flag cannot be set to “1” by software. 2: Timer B0. 3: Timer B1, timer B2. 0 (Fixed to “0” in pulse period/pulse width measurement mode; i = 0) (Note 2) (Note 3) Nothing is assigned (i = 1, 2). In an attempt to write to this bit, write “0.” The value, if read, turns out to be indeterminate. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |