R8C/1A Group, R8C/1B Group
14. Timers
Rev.1.30
Dec 08, 2006
Page 125 of 315
REJ09B0252-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 aveform
generation mode
RW
Counts internal count source or timer X
underflow s.
00h to FFh
Timer mode
RW
Counts internal count source or timer X
underflow s.
00h to FFh
b7
b0
Programmable one-shot
generation mode
Counts internal count source or timer X
underflow s.
00h to FFh
RW
Programmable w ait one-shot
generation mode
Counts internal count source or timer X
underflow s.
00h to FFh
RW
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 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.
Programmable w ait one-shot
generation mode
Counts underflow s of prescaler Z
(counts w ait period).
00h to FFh
RW
Programmable one-shot
generation mode
Counts underflow s of prescaler Z
(counts one-shot w idth).
00h to FFh
RW
RW
Counts underflow s of prescaler Z.
(1)
00h to FFh
00h to FFh
Programmable w aveform
generation mode
b7
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.