Electronic Components Datasheet Search
  English  ▼

X  

R8C/15 Datasheet(PDF) 117 Page - Renesas Technology Corp

Part # R8C/15
Description  16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / R8C/Tiny SERIES
PDF  277 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/15 Datasheet(HTML) 117 Page - Renesas Technology Corp

Back Button R8C/15 Datasheet HTML 113Page - Renesas Technology Corp R8C/15 Datasheet HTML 114Page - Renesas Technology Corp R8C/15 Datasheet HTML 115Page - Renesas Technology Corp R8C/15 Datasheet HTML 116Page - Renesas Technology Corp R8C/15 Datasheet HTML 117Page - Renesas Technology Corp R8C/15 Datasheet HTML 118Page - Renesas Technology Corp R8C/15 Datasheet HTML 119Page - Renesas Technology Corp R8C/15 Datasheet HTML 120Page - Renesas Technology Corp R8C/15 Datasheet HTML 121Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 117 / 277 page
background image
R8C/14 Group, R8C/15 Group
13. Timers
Rev.2.10
Jan 19, 2006
Page 105 of 253
REJ09B0164-0210
13.2.2
Programmable Waveform Generation Mode
Programmable waveform generation mode is mode to invert the signal output from the TZOUT pin
each time the counter underflows, while the values in the TZPR and TZSC registers are counted
alternately (See Table 13.8 Specification of Programmable Waveform Generation Mode). A
counting starts by counting the value set in the TZPR register. Figure 13.17 shows TZMR and PUM
Registers in Programmable Waveform Generation Mode. Figure 13.18 shows Operating Example of
Timer Z in Programmable Waveform Generation Mode.
NOTES:
1. Even when counting the secondary period, read out the TZPR register.
2. The setting value in the TZPR register and TZSC register are made effective by writing a value to
the TZPR register. The set values are reflected to the waveform output beginning with the following
primary period after writing to the TZPR register.
3. The TZOCNT bit is enabled by the followings.
• When count starts.
• When the timer Z interrupt request is generated. The contents after the TZOCNT bit is changed
are reflected from the output of the following primary period.
Table 13.8
Specification of Programmable Waveform Generation Mode
Item
Specification
Count Source
f1, f2, f8, Timer X underflow
Count Operation
• Decrement
• When the timer underflows, it reloads the contents of the primary reload and
secondary reload registers alternately before the count continues.
Width and Period of
Output Waveform
Primary period: (n+1)(m+1)/fi
Secondary period: (n+1)(p+1)/fi
Period: (n+1){(m+1)+(p+1)}/fi
fi: Count source frequency
n: Setting value in PREZ register, m: setting value in TZPR register, p: setting
value in TZSC register
Count Start Condition Write “1” (count start) to the TZS bit in the TZMR register
Count Stop Condition Write “0” (count stop) to the TZS bit in the TZMR register
Interrupt Request
Generation Timing
In half of count source, after Timer Z underflows during secondary period (at the
same time as the TZout output change) [Timer Z interrupt]
TZOUT Pin Function
Pulse output
(When using this function as a programmable I/O port, set to timer mode.)
INT0 Pin Function
Programmable I/O port, or INT0 interrupt input
Read from timer
The count value can be read out by reading the TZPR and PREZ registers(1).
Write to timer
The value written to the TZSC, PREZ and TZPR registers is written to the reload
register only(2)
Select function
• Output level latch select function
The TZOPL bit can select the output level during primary and secondary
periods.
• Programmable waveform generation output switch function
When the TZOCNT bit in the TZOC register is set to “0”, the output from the
TZOUT pin is inverted synchronously when Timer Z underflows. And when
setting to “1”, output the value in the P1_3 bit from the TZOUT pin(3)



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