参数资料
型号: M38207M8-XXXHP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP80
封装: 0.50 MM PITCH, PLASTIC, QFP-80
文件页数: 32/69页
文件大小: 944K
代理商: M38207M8-XXXHP
Rev.4.01
Nov 14, 2003
page 38 of 136
3803/3804 Group
(3) Event counter mode
qMode selection
This mode can be selected by setting “10” to the timer X operating
mode bits (bits 1 and 0) and the timer Y operating mode bits (bits
5 and 4) of the timer XY mode register (address 002316).
qExplanation of operation
The operation is the same as the timer mode’s except that the
timer counts signals input from the CNTR0 or CNTR1 pin. The
valid edge for the count operation depends on the CNTR0 active
edge switch bit (bit 2) or the CNTR1 active edge switch bit (bit 6)
of the timer XY mode register (address 002316). When it is “0”, the
rising edge is valid. When it is “1”, the falling edge is valid.
sPrecautions
Set the double-function port of CNTR0/CNTR1 pin and port P54/
P55 to input in this mode.
(4) Pulse width measurement mode
qMode selection
This mode can be selected by setting “11” to the timer X operating
mode bits (bits 1 and 0) and the timer Y operating mode bits (bits
5 and 4) of the timer XY mode register (address 002316).
qExplanation of operation
When the CNTR0 active edge switch bit (bit 2) or the CNTR1 ac-
tive edge switch bit (bit 6) of the timer XY mode register (address
002316) is “1”, the timer counts during the term of one falling edge
of CNTR0/CNTR1 pin input until the next rising edge of input (“L”
term). When it is “0”, the timer counts during the term of one rising
edge input until the next falling edge input (“H” term).
sPrecautions
Set the double-function port of CNTR0/CNTR1 pin and port P54/
P55 to input in this mode.
The count operation can be stopped by setting “1” to the timer X
count stop bit (bit 3) and the timer Y count stop bit (bit 7) of the
timer XY mode register (address 002316). The interrupt request bit
is set to “1” each time the timer underflows.
Precautions when switching count source
When switching the count source by the timer 12, X and Y count
source selection bits, the value of timer count is altered in incon-
siderable amount owing to generating of thin pulses on the count
input signals.
Therefore, select the timer count source before setting the value
to the prescaler and the timer.
相关PDF资料
PDF描述
M38254M4DXXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP100
MB90341EPFV MICROCONTROLLER, PQFP100
MB90F345ESPF MICROCONTROLLER, PQFP100
M30102M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30302M8L-XXXGP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M38207RFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M3821 BK001 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 1000'
M3821 BK002 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 500'
M3821 BK005 制造商:Alpha Wire 功能描述:CBL 25COND 18AWG BLK 100'
M38220E1DFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER