参数资料
型号: M37540M2T-XXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
封装: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件页数: 18/88页
文件大小: 872K
代理商: M37540M2T-XXXFP
7540 Group
Rev.4.00
Jun 21, 2004
page 25 of 82
REJ03B0011-0400Z
(4) Pulse width measurement mode
In the pulse width measurement mode, the pulse width of the sig-
nal input to P14/CNTR0 pin is measured.
The operation of Timer X can be controlled by the level of the sig-
nal input from the CNTR0 pin.
When the CNTR0 active edge switch bit is “0”, the signal selected
by the timer X count source selection bit is counted while the input
signal level of CNTR0 pin is “H”. The count is stopped while the
pin is “L”. Also, when the CNTR0 active edge switch bit is “1”, the
signal selected by the timer X count source selection bit is
counted while the input signal level of CNTR0 pin is “L”. The count
is stopped while the pin is “H”.
Timer X can stop counting by setting “1” to the timer X count stop
bit in any mode.
Also, when Timer X underflows, the timer X interrupt request bit is
set to “1”.
Note on Timer X is described below;
s Note on Timer X
CNTR0 interrupt active edge selection
CNTR0 interrupt active edge depends on the CNTR0 active edge
switch bit.
When this bit is “0”, the CNTR0 interrupt request bit is set to “1” at
the falling edge of CNTR0 pin input signal. When this bit is “1”, the
CNTR0 interrupt request bit is set to “1” at the rising edge of
CNTR0 pin input signal.
Fig. 23 Structure of timer X mode register
Fig. 24 Timer count source set register
Timer X mode register
(TXM : address 002B 16, initial value: 0016)
CNTR0 active edge switch bit
0 : Interrupt at falling edge
Count at rising edge
(in event counter mode)
1 : Interrupt at rising edge
Count at falling edge
(in event counter mode)
Timer X operating mode bits
b1 b0
0
0 : Timer mode
0
1 : Pulse output mode
1
0 : Event counter mode
1
1 : Pulse width measurement mode
Not used (return “0” when read)
Timer X count stop bit
0 : Count start
1 : Count stop
b7
b0
P03/TXOUT output valid bit
0 : Output invalid (I/O port)
1 : Output valid (Inverted CNTR 0 output)
Timer count source set register
(TCSS : address 002E16, initial value: 0016)
b7
b0
Timer X count source selection bits
b1 b0
0
0 : f(XIN)/16
0
1 : f(XIN)/2
1
0 : f(XIN) (Note 1)
1
1 : Not available
Timer Y count source selection bits
b3 b2
0
0 : f(XIN)/16
0
1 : f(XIN)/2
1
0 : On-chip oscillator output (Note 2)
1
1 : Not available
Timer Z count source selection bits
b5 b4
0
0 : f(XIN)/16
0
1 : f(XIN)/2
1
0 : Timer Y underflow
1
1 : Not available
Fix this bit to “0”.
Not used (return “0” when read)
Notes 1: f(XIN) can be used as timer X count source when using
a ceramic resonator or on-chip oscillator.
Do not use it at RC oscillation.
2: System operates using an on-chip oscillator as a count source
by setting the on-cihp oscillator to oscillation enabled by bit 3
of CPUM.
相关PDF资料
PDF描述
M37540M2V-XXXFP 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
M37540M4V-XXXGP 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO36
M30624MGP-XXXGP 16-BIT, MROM, 24 MHz, MICROCONTROLLER, PQFP100
M37478E8SP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP42
MC68HC908GR8AMDW 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PDSO28
相关代理商/技术参数
参数描述
M37540M2T-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 740 SERIES
M37540M2V-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37540M2V-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 740 SERIES
M37540M2-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 740 SERIES
M37540M2-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER