
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 82 of 180
REJ09B0019-0120
Figure 12.25 Operation Example in Programmable One-shot Generation Mode
Count source
TZ
OUT
pin output
IR bit in
TZIC register
TZS bit in
TYZMR register
“1”
“0”
01
16
00
16
01
16
00
16
Timer Z
primary
reload
Set to
“
0
”
when interrupt request
is acknowledged or by program
Waveform
output starts
Waveform
output
completes
TZOPL bit in
PUM register
TZOS bit in
TYZOC register
Contents of Timer Z
Set to
“
1
”
by program
01
16
Count
starts
Set to
“
1
”
by INT
0
pin
input trigger
Set to
“
0
”
when count
completes
The above applies to the following conditions;
PREZ=01
16, TZPR=0116
TZOPL bit in PUM register=0, INOSTG bit= 1(INT0 one-shot trigger enabled)
INOSEG bit= 1(rising edge trigger)
INT
0
pin input
Prescaler Z
underflow signal
“1”
“0”
“1”
“0”
“1”
“0”
“0”
“1”
“H”
“L”
Set to
“
1
”
by program
Set to
“
1
”
by program
Count
starts
Timer Z
primary
reload
Waveform
output starts
Waveform
output
completes
12.3 Timer (Timer Z)
Kommentare zu diesen Handbüchern