R8C/18 Group, R8C/19 Group
Rev.1.30
Apr 14, 2006
Page 119 of 233
REJ09B0222-0130
Figure 14.13
Registers PREZ, TZSC, and TZPR
Prescaler Z Register
Symbol
Address
After Reset
PREZ
0085h
FFh
Mode
Function
Setting Range
RW
Programmable w ait one-shot
generation mode
Counts internal count source or timer X
underflow s.
00h to FFh
RW
Programmable one-shot
generation mode
Counts internal count source or timer X
underflow s.
00h to FFh
RW
b0
b7
Timer mode
RW
Counts internal count source or timer X
underflow s.
00h to FFh
Programmable w aveform
generation mode
RW
Counts internal count source or timer X
underflow s.
00h to FFh
Timer Z Secondary Register
Symbol
Address
After Reset
TZSC
0086h
FFh
Mode
Function
Setting Range
RW
NOTES:
1.
2.
Programmable w ait one-shot
generation mode
Counts underflow s of prescaler Z (counts
one-shot w idth).
00h to FFh
WO
Programmable one-shot
generation mode
Disabled
—
—
Programmable w aveform
generation mode
WO
(2)
Counts underflow of prescaler Z.
(1)
00h to FFh
Disabled
—
b7
Each value in the TZPR register and TZSC register is reloaded to the counter alternately and counted.
The count value can be read out by reading the TZPR register even w hen the secondary period is being counted.
b0
Timer mode
—
Timer Z Primary Register
Symbol
Address
After Reset
TZPR
0087h
FFh
Mode
Function
Setting Range
RW
NOTE:
1. Each value in registers TZPR and TZSC is reloaded to the counter alternately and counted.
b0
Timer mode
RW
Counts underflow s of prescaler Z.
b7
Programmable w aveform
generation mode
RW
Counts underflow s of prescaler Z.
(1)
00h to FFh
00h to FFh
Programmable one-shot
generation mode
Counts underflow s of prescaler Z
(counts one-shot w idth).
00h to FFh
RW
Programmable w ait one-shot
generation mode
Counts underflow s of prescaler Z
(counts w ait period).
00h to FFh
RW