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