参数资料
型号: M38002SFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, 8 MHz, MICROCONTROLLER, PQFP64
封装: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, QFP-64
文件页数: 141/174页
文件大小: 1752K
代理商: M38002SFP
2-20
3800 GROUP USER’S MANUAL
APPLICATION
2.2 Timer
(5) Timer application example 4 : Measurement of pulse width of FG pulse generated by motor
Outline : The “H” level width of a pulse input to the P54/CNTR0 pin is counted by Timer X. An
underflow is detected by Timer X interrupt and an end of the input pulse “H” level is detected
by CNTR0 interrupt.
Specifications : The “H” level width of a FG pulse input to the P54/CNTR0 pin is counted by Timer
X.
(Example : When the clock frequency is 4.19 MHz, the count source would be
3.8
s that is obtained by dividing the clock frequency by 16.
Measurement can be made up to 250 ms in the range of FFFF16 to
000016.)
Figure 2.2.20 shows a connection of the timer and a setting of the division ratio, and Figure 2.2.21
shows a setting of related registers.
Fig. 2.2.20 Connection of the timer and setting of the division ratio [Measurement of pulse width]
f(XIN) = 4.19 MHz
Fixed
Prescaler X
Timer X
Timer X interrupt request bit
250 ms
0 : No interrupt request
1 : Interrupt request
1/16
0 or 1
1/256
相关PDF资料
PDF描述
MSC1212Y2PAGT 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQFP64
M38067MC-XXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
M38027E8SS 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CDIP64
M30622M8P-XXXFP 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
M37478M4TXXXFP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP56
相关代理商/技术参数
参数描述
M38002SSP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38003E1-DXXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38003E1-DXXXSP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38003E1-XXXFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38003E1-XXXFS 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER