Electronic Components Datasheet Search
  English  ▼

X  

7540 Datasheet(PDF) 160 Page - Renesas Technology Corp

Part # 7540
Description  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 740 SERIES
PDF  366 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7540 Datasheet(HTML) 160 Page - Renesas Technology Corp

Back Button 7540 Datasheet HTML 156Page - Renesas Technology Corp 7540 Datasheet HTML 157Page - Renesas Technology Corp 7540 Datasheet HTML 158Page - Renesas Technology Corp 7540 Datasheet HTML 159Page - Renesas Technology Corp 7540 Datasheet HTML 160Page - Renesas Technology Corp 7540 Datasheet HTML 161Page - Renesas Technology Corp 7540 Datasheet HTML 162Page - Renesas Technology Corp 7540 Datasheet HTML 163Page - Renesas Technology Corp 7540 Datasheet HTML 164Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 160 / 366 page
background image
2-84
REJ09B0018-0200Z
Rev.2.00
Jun 21, 2004
APPLICATION
7540 Group
2.5 Timer Y and timer Z
2.5.5 Programmable one-shot generation mode (timer Z)
(1) Operation description
In the programmable one-shot generation mode, the one-shot pulse by the setting value of timer Z
primary can be output from P02/TZOUT pin by software or external trigger to the P37/INT0 pin. 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, the timer Z secondary (TZS) is not
used.
The active edge of output waveform is set by the timer Z output level latch. When “0” is set to the
timer Z output level latch, “H” pulse during the interval of the timer Z primary (TZP) setting value is
output. When “1” is set to the timer Z output level latch, “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 (EXPZP) to “1”.
As a result, the waveforms of more accurate resolution can be output.
During the one-shot pulse output interval, the one-shot pulse output 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. (Even when writing at timer stop is executed,
writing to TZP at last is required.)
Timer Z can stop counting by setting “1” to the timer Z count stop bit.
Also, when timer Z underflows, the timer Z interrupt request bit is set to “1”.
Timer Z reloads the value of latch when counting is stopped by the timer Z count stop bit.
(When timer is read out while timer is stopped, the value of latch is read. The value of timer can be
read out only while timer is operating.)
Notes 1: 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.
2: 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 underflow simultaneously.
An example of a measurement is shown below.
ex.) The underflow of timer is stored by polling etc. using timer Z interrupt.
Writing to primary is performed in by judging that there is no problem if the underflow
by secondary is completed with reference to primary write operation before.
(Depending on a primary setting value, primary write timing, software and timing of
external trigger to INT0 pin, it may be impossible.)
3: The waveform extension function by the timer Z waveform extension control bits 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 timer Z count source, the waveform extension
function cannot be used.
4: When using this mode, be sure to set “1” to the timer Z write control bit to select “write to
latch only”.
5: In order to use TZOUT pin, set “1” to bit 2 of the port P0 direction register (output mode).
6: Stop Timer Z to change the INT0 pin one-shot trigger control bit and INT0 pin one-shot
trigger active edge selection bit.
Figure 2.5.28 shows the timing diagram of the programmable one-shot generation mode.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com