Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

R8C/13 Datasheet(PDF) 104 Page - Renesas Technology Corp

Part # R8C/13
Description  16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
PDF  224 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/13 Datasheet(HTML) 104 Page - Renesas Technology Corp

Back Button R8C/13 Datasheet HTML 100Page - Renesas Technology Corp R8C/13 Datasheet HTML 101Page - Renesas Technology Corp R8C/13 Datasheet HTML 102Page - Renesas Technology Corp R8C/13 Datasheet HTML 103Page - Renesas Technology Corp R8C/13 Datasheet HTML 104Page - Renesas Technology Corp R8C/13 Datasheet HTML 105Page - Renesas Technology Corp R8C/13 Datasheet HTML 106Page - Renesas Technology Corp R8C/13 Datasheet HTML 107Page - Renesas Technology Corp R8C/13 Datasheet HTML 108Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 104 / 224 page
background image
Rev.1.20
Jan 27, 2006
page 93 of 205
REJ09B0111-0120
R8C/13 Group
12.3.2 Programmable Waveform Generation Mode
In this mode, an signal output from the TZOUT pin is inverted each time the counter underflows, while
the values in the TZPR register and TZSC register are counted alternately (see “Table 12.10 Program-
mable Waveform Generation Mode Specifications”). A counting starts by counting the value set in the
TZPR register. Figure 12.23 shows TYZMR and PUM registers in this mode. The Timer Z operates in
the same way as the Timer Y in this mode. See Figure 12.17 (Timer Y operation ex
ample in programmable waveform generation mode ).
Item
Specification
Count source
f1, f2, f8, Timer Y underflow
Count operation
• Down-count
• When the timer underflows, it reloads the contents of primary reload register and sec-
ondary reload register alternately before continuing counting.
Output waveform width
Primary period
: (n+1)(m+1)/fi
and period
Secondary period : (n+1)(p+1)/fi
Period
: (n+1){(m+1)+(p+1)}/fi
fi : Count source frequency
n: Set value in PREZ register, m: Set value in TZPR register, p: Set value in TZSC register
Count start condition
Write “1” (count start) to the TZS bit in the TYZMR register
Count stop condition
Write “0” (count stop) to the TZS bit in the TYZMR 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
Use timer mode when using this pin as a programmable I/O port.
_____
INT0 pin functions
_______
Programmable I/O port, or INT0 interrupt input
Read from timer
Count value can be read out by reading TZPR register.
Same applies to PREZ register(2).
Write to timer
Value written to TZPR register is written to reload register only.
Same applies to TZSC register and PREZ register(3).
Select function
• Output level latch select function
The output level during primary and secondary periods is selected by the TZOPL bit.
• Programmable waveform generation output switching function
The output from TZOUT is inverted synchronously when Timer Z underflows by setting
the TZOCNT bit in the TYZOC register to “0”. A value in the P3_1 bit is output from the
TZOUT by setting to “1”(3).
NOTES:
1. Even when counting the secondary period, read out the TZPR register.
2. The set value in the TZPR register and TZSC register are enabled by writing a value to the TZPR register. The set
values are reflected to the waveform output beginning with the next primary period after writing to the Timer Z primary
register.
3. The TZOCNTbit is enabled in the following timings
• When count starts
• When Timer Z interrupt request is generated
Therefore, pulse is output from the next primary period depending on the setting value of the TZOCNT bit.
Table 12.10 Programmable Waveform Generation Mode Specifications
12.3 Timer (Timer Z)



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   |   Datasheet Upload   |   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