參數(shù)資料
型號: M38002E4DFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: 14 X 14 MM, PLASTIC, QFP-64
文件頁數(shù): 136/173頁
文件大?。?/td> 4203K
代理商: M38002E4DFP
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 P55/CNTR1 pin by a timer.
A referance value
Specifications : The pulse is input to the P55/CNTR1 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 215V .
V 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描述
M38002M2-XXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
M38002M2DXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
M38002SSP 8-BIT, 8 MHz, MICROCONTROLLER, PDIP64
M38004E8-XXXFP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP64
M38004M8DXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
相關代理商/技術參數(shù)
參數(shù)描述
M38002E4-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38002E4FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4FS 制造商:Mitsubishi Electric 功能描述:8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQCC64
M38002E4SP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4SS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER