Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

R8C12 Datasheet(PDF) 93 Page - Renesas Technology Corp

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

R8C12 Datasheet(HTML) 93 Page - Renesas Technology Corp

Back Button R8C12 Datasheet HTML 89Page - Renesas Technology Corp R8C12 Datasheet HTML 90Page - Renesas Technology Corp R8C12 Datasheet HTML 91Page - Renesas Technology Corp R8C12 Datasheet HTML 92Page - Renesas Technology Corp R8C12 Datasheet HTML 93Page - Renesas Technology Corp R8C12 Datasheet HTML 94Page - Renesas Technology Corp R8C12 Datasheet HTML 95Page - Renesas Technology Corp R8C12 Datasheet HTML 96Page - Renesas Technology Corp R8C12 Datasheet HTML 97Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 198 page
background image
R8C/12 Group
Rev.1.20
Jan 27, 2006
page 83 of 181
REJ09B0110-0120
12.3.4 Programmable Wait One-shot Generation Mode
In this mode, upon program or external trigger input (input to the INT0 pin), the microcomputer outputs
the one-shot pulse from the TZOUT pin after waiting for a given length of time (see “Table 12.12
Programmable Wait One-shot Generation Mode Specifications”). When a trigger occurs, from this
point, the timer starts outputting pulses only once for a given length of time equal to the set value in the
TZSC register after waiting for a given length of time equal to the set value in the TZPR register.
Figure 12.26 shows the TYZMR and PUM registers in this mode. Figure 12.27 shows an operation
example in this mode.
Item
Specification
Count source
f1, f2, f8, Timer Y underflow
Count operation
• Downcounts set value in Timer Z primary
• When a counting of TZPR register underflows, the timer reloads the contents of TZSC
register before continuing counting.
• When a counting of TZSC register underflows, the timer reloads the contents of TZPR
register before completing counting.
• When a count stops, the timer reloads the contents of the reload register before it stops.
Wait time
(n+1)(m+1)/fi
n: set value in PREZ register, m: set value in TZPR register
One-shot pulse output time (n+1)(p+1)/fi
n : set value in PREZ, p: set value in TZSC register
Count start condition
• Set TZOS bit in TYZOC register to “1” (start one-shot)(1)
_______
• Input active trigger to INT0 pin(2)
Count stop condition
• When reloading is completed after count value at counting TZSC register was set to
"0016"
• When TZS bit in TYZMR register is set to “0” (stop counting)
• When TZOS bit in TYZOC register is set to “0” (stop one-shot)
Interrupt request generation timing In half cycles of count source, after count value at counting TZSC register is set "0016"
(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 function
_______
Programmable I/O port, INT0 interrupt input or external trigger input
_______
• When the INOSTG bit in the PUM register is set to “0” (INT0 one-shot trigger disabled)
_______
Programmable I/O port or INT0 interrupt input
_______
• When the INOSTG bit in the PUM register is set to “1” (INT0 one-shot trigger enabled)
_______
external trigger (INT0 interrupt input)
Read from timer
Count value can be read out by reading TZPR register.
Same applies to PREZ register.
Write to timer
Value written to TZPR register and PREZ register are written to reload register only(3).
Same applies to TZSC register.
Select function
• Output level latch select function
Output level for one-shot pulse waveform is selected by TZOPL bit.
_______
• INT0 pin one-shot trigger control function and polarity select function
_______
Trigger input from INT0 pin can be set to active or inactive by INOSTG bit. Also, an
active trigger's polarity can be selected by INOSEG bit.
NOTES:
1. The TZS bit in the TYZMR register must be set to "1" (start counting).
_______
2. The TZS bit must be set to "1" (start counting), the INT0EN bit in the INTEN register to "1" (enabling INT0 input), and
the INOSTG bit in the PUM register to "1" (enabling INT0 one-shot trigger).
_______
Although the trigger input during counting cannot be acknowledged, the INT0 interrupt request is generated.
3. The set values are reflected beginning with the next one-shot pulse after writing to the TZPR register.
12.3 Timer (Timer Z)
Table 12.12 Programmable Wait One-shot Generation Mode Specifications



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