參數(shù)資料
型號: M38001M8-XXXSS
廠商: Mitsubishi Electric Corporation
英文描述: Quad Low-Noise High-Speed Precision Operational Amplifier 16-SOIC
中文描述: 8位單片機
文件頁數(shù): 65/173頁
文件大?。?/td> 4203K
代理商: M38001M8-XXXSS
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
相關PDF資料
PDF描述
M38001S1-XXXFP Quad Low-Noise High-Speed Precision Operational Amplifier 14-PDIP
M38001S1-XXXFS Quad Low-Noise High-Speed Precision Operational Amplifier 16-SOIC
M38001S1-XXXHP Quad Low-Noise High-Speed Precision Operational Amplifier 16-SOIC
M38001S6-XXXFS JFET-Input High-Output-Drive Low-Power Decompensated Operational Amplifier 8-SOIC
M38001S6-XXXHP 1 watt dc-dc converters
相關代理商/技術參數(shù)
參數(shù)描述
M38001S1-DXXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38001S1-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38001S1-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38001S1-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38001S1-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER