參數(shù)資料
型號: M38000M7-XXXFP
廠商: Mitsubishi Electric Corporation
英文描述: RES-ARRAY 43-OHM 4-ELEMENT 5% 0.063W CONVEX THK-FILM SMD-1206 TR-7-PA
中文描述: 8位單片機(jī)
文件頁數(shù): 65/173頁
文件大?。?/td> 4203K
代理商: M38000M7-XXXFP
APPLICATION
2.2 Timer
2-17
3800 GROUP USER’S MANUAL
(4) Timer application example 3 : Measurement of frequency
Outline :
The following two values are compared for judging if the frequency is within a certain range.
A value counted a pulse which is input to P5
5
/CNTR
1
pin by a timer.
A referance value
Specifications :
The pulse is input to the P5
5
/CNTR
1
pin and counted by the Timer Y.
A count value is read out at the interval of about 2 ms (Timer 1 interrupt interval
: 244
μ
s
8). When the count value is 28 to 40, it is regarded the input pulse
as a valid.
Because the timer is a down-counter, the count value is compared with 227 to 215
8
.
8
227 to 215 = 255 (initialized value of counter) – 28 to 40 (the number of valid
value).
Figure 2.2.17 shows a method for judging if input pulse exists, and Figure 2.2.18 shows a setting of
related registers.
Input pulse
71.4
μ
s or more
(14 kHz or less)
71.4
μ
s
(14 kHz)
50
μ
s(20 kHz)
50
μ
s or less
(20 kHz or more)
Invalid
Valid
Invalid
2 ms
71.4
μ
s
= 28 counts
2 ms
50
μ
s
= 40 counts
Fig 2.2.17 A method for judging if input pulse exists
相關(guān)PDF資料
PDF描述
M38000M8-XXXFP 1 watt dc-dc converters
M38000S6-XXXHP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S6-XXXSP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S6-XXXSS 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
M38000S7-XXXFP 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38000M7-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000M7-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000M7-XXXSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000M7-XXXSS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38000M8-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES