参数资料
型号: M37540M2T-XXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
封装: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件页数: 22/88页
文件大小: 872K
代理商: M37540M2T-XXXFP
7540 Group
Rev.4.00
Jun 21, 2004
page 29 of 82
REJ03B0011-0400Z
Notes on the programmable waveform generation mode are de-
scribed below;
s Notes on programmable waveform generation mode
Count set value
In the programmable waveform generation mode, values of TZS,
EXPZP, and EXPZS are valid by writing to TZP because the set-
ting to them is executed all at once by writing to TZP. Even when
changing TZP is not required, write the same value again.
Write timing to TZP
In the programmable waveform generation mode, when the set-
ting value is changed while the waveform is output, set by
software in order not to execute the writing to TZP and the timing
of timer underflow during the secondary interval simultanesously.
Usage of waveform extension function
The waveform extension function by the timer Z waveform exten-
sion control bit can be used only when “0016” is set to Prescaler Z.
When the value other than “0016” is set to Prescaler Z, be sure to
set “0” to EXPZP and EXPZS. Also, when the timer Y underflow is
selected as the count source, the waveform extension function
cannot be used.
Timer Z write mode
When using this mode, be sure to set “1” to the timer Z write con-
trol bit to select “write to latch only”.
(3) Programmable one-shot generation mode
In the programmable one-shot generation mode, the one-shot
pulse by the setting value of timer Z primary can be output from
TZOUT pin by software or external trigger. When using this mode,
be sure to set “1” to the timer Z write control bit to select “write to
latch only”. Also, set the port P02 direction registers to output
mode. In this mode, TZS is not used.
The active edge of output waveform is set by the timer Z output
level latch (b5) of the timer Y, Z waveform output control register
(PUM). When “0” is set to b5 of PUM, “H” pulse during the interval
of the TZP setting value is output. When “1” is set to b5 of PUM,
“L” pulse during the interval of the TZP setting value is output.
Also, in this mode, the interval of the one-shot pulse output can be
extended for 0.5 cycle of timer count source clock by setting the
timer Z primary waveform extension control bit (b2) of PUM to “1”.
As a result, the waveforms of more accurate resolution can be
output.
In the programmable one-shot generation mode, the trigger by
software or the external INT0 pin can be accepted by writing “0” to
the timer Z count stop bit after the count value is set. (At the time
when “0” is written to the timer Z count stop bit, Timer Z stops.)
By writing “1” to the timer Z one-shot start bit, or by inputting the
valid trigger to the INT0 pin after the trigger to the INT0 pin be-
comes valid by writing “1” to the INT0 pin one-shot trigger control
bit, Timer Z starts counting, at the same time, the output of TZOUT
pin is inverted. When Timer Z underflows, the output of TZOUT pin
is inverted again and Timer Z stops. When also the trigger of INT0
pin is accepted, the contents of the one-shot start bit is changed to
“1” by hardware.
The falling or rising can be selected as the edge of the valid trig-
ger of INT0 pin by the INT0 pin one-shot trigger edge selection bit.
During the one-shot pulse output interval, the one-shot pulse out-
put can be stopped forcibly by writing “0” to the timer Z one-shot
start bit.
In the programmable one-shot generation mode, when the count
values are changed, set value to the EXPZP first. After then, set
the value to TZP. The values are set all at once at the beginning of
the next one-shot pulse when the value is set to TZP. (When writ-
ing at timer stop is executed, writing to TZP at last is required.)
Notes on the programmable one-shot generation mode are de-
scribed below;
s Notes on programmable one-shot generation mode
Count set value
In the programmable one-shot generation mode, the value of
EXPZP becomes valid by writing to TZP. Even when changing
TZP is not required, write the same value again.
Write timing to TZP
In the programmable one-shot generation mode, when the setting
value is changed while the waveform is output, set by software in
order not to execute the writing to TZP and the timing of timer un-
derflow simultanesously.
Usage of waveform extension function
The waveform extension function by the timer Z waveform exten-
sion control bit can be used only when “0016” is set to Prescaler Z.
When the value other than “0016” is set to Prescaler Z, be sure to
set “0” to EXPZP. Also, when the timer Y underflow is selected as
the count source, the waveform extension function cannot be
used.
Timer Z write mode
When using this mode, be sure to set “1” to the timer Z write con-
trol bit to select “write to latch only”.
相关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