R8C/1A Group, R8C/1B Group
14. Timers
Rev.1.30
Dec 08, 2006
Page 135 of 315
REJ09B0252-0130
Figure 14.20
Operating Example in Programmable One-Shot Generation Mode
Count source
00h
01h
TZOS bit in TZOC
register
TZOPL bit in PUM
register
Contents of timer Z
TZOUT pin input
IR bit in TZIC
register
The above applies under the following conditions.
PREZ = 01h, TZPR = 01h
TZOPL bit in PUM register = 0, INOSTG bit = 1 (INT0 one-shot trigger enabled)
INOSEG bit = 1 (rising edge trigger)
Prescaler Z
underflow signal
Count
starts
Timer Z
primary
reloads
Waveform
output ends
TZS bit in TZMR
register
1
0
Set to 1 by program
Set to 0 when
counting ends
Set to 1 by INT0 pin
input trigger
INT0 pin input
01h
00h
01h
Waveform
output starts
Set to 0 when interrupt request i s
acknowledged, or set to 0 by
program
1
0
1
0
1
0
1
0
“H”
“L”
Set to 1 by program
Count
starts
Timer Z
primary
reloads
Set to 0 by program
Waveform
output starts
Waveform
output ends