Renesas M16C FAMILY Hardware Manual page 99

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
Prescaler Z register
b7
Timer Z Secondary register
b7
Notes:
1. Each value in the TZPR register and TZSC register is reloaded to the counter alternately for counting.
2. The count value can be read out by reading the TZSC register even when the secondary period is being
counted.
Timer Z Primary register
b7
Notes:
1. Each value in the TZPR register and TZSC register is reloaded to the counter alternately for counting.
Timer Y, Z output control register
b7 b6 b5 b4 b3 b2 b1 b0
Notes:
1. This bit is set to "0" when the output of one-shot waveform is completed. The TZOS bit should be set to "0" if the
one-shot waveform output is terminated by setting the TYS bit in the TYZMR to "0" during the waveform output.
2. This bit is enabled only when operating in programmable waveform generation mode.
Figure 12.20 PREZ Register, TZSC Register, TZPR Register, and TYZOC Register
Rev.0.91
2003 Sep 08
Symbol
b0
PREZ
Mode
Timer mode
Internal count source or Timer Y
underflow is counted
Programmable
Internal count source or Timer Y
waveform
underflow is counted
generation mode
Programmable
Internal count source or Timer Y
one-shot
underflow is counted
generation mode
Programmable wait
Internal count source or Timer Y
underflow is counted
one-shot generation
mode
Symbol
b0
TZSC
Mode
Timer mode
Invalid
Programmable
Underflow of Prescaler Z is
waveform
1
counted
generation mode
Invalid
Programmable
one-shot
generation mode
Programmable wait
Underflow of Prescaler Z is
one-shot generation
counted
mode
(One-shot width is counted)
Symbol
b0
TZPR
Mode
Underflow of Prescaler Z is
Timer mode
counted
Programmable
Underflow of Prescaler Z is
waveform
counted
1
generation mode
Underflow of Prescaler Z is
Programmable
counted
one-shot
(One-shot width is counted)
generation mode
Programmable wait
Underflow of Prescaler Z is
counted
one-shot generation
mode
(Wait period is counted)
Symbol
Address
TYZOC
008A
16
Bit symbol
Bit
name
Timer Z one-shot
TZOS
1
start bit
Timer Y programmable
TYOCNT
waveform generation
2
output switching bit
Timer Z programmable
TZOCNT
waveform generation
output switching bit
2
Nothing is assigned.
When write, set to "0". When read, its content is "0".
(b7-b3)
page 89 of 184
Address
After reset
0085
FF
16
16
Function
Setting range
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
Address
After reset
0086
FF
16
16
Function
Setting range
00
to FF
16
16
00
to FF
16
16
Address
After reset
0087
FF
16
16
Function
Setting range
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
After reset
00
16
Function
0 : Stops one-shot
1 : Starts one-shot
0 : Outputs programmable waveform
1 : Outputs the value of P3
port register
2
0 : Outputs programmable waveform
1 : Outputs the value of P3
port register
1
12.3 Timer (Timer Z)
RW
RW
RW
RW
RW
RW
WO
2
WO
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents