English
Language : 

M16C1N Datasheet, PDF (95/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
12. Timers
Prescaler Y
b7
b0
Symbol
PREY
Address
008116
When reset
FF16
Function
Timer mode
Internal count source is counted
Values that can be set RW
0016 to FF16 RW
Programmable waveform generation mode
Internal count source is counted
0016 to FF16 RW
(Note 1)
Note 1: When using the waveform extend function, set the value "0016" for the Prescaler Y.
Timer Y Secondary
b7
b0
Symbol
TYSC
Address
008216
When reset
FF16
Timer mode
Invalid
Function
Values that can be set RW
Programmable waveform generation mode
Underflow of Prescaler Y is counted (Note 1)
0016 to FF16
WO
(Note 2)
Note 1: The values of Timer Y Primary and Timer Y Secondary are reloaded to the Timer Y alternately for counting.
Note 2: The count value can be read out by reading the Timer Y Primary even when the secondary period is being
counted.
Timer Y Primary
b7
b0
Symbol
TYPR
Address
008316
When reset
FF16
Function
Timer mode
Underflow of Prescaler Y is counted
Values that can be set RW
0016 to FF16 RW
Programmable waveform generation mode
Underflow of Prescaler Y is counted (Note 1)
0016 to FF16 RW
Note 1: The values of Timer Y Primary and Timer Y Secondary are reloaded to the Timer Y alternately for counting.
Timer Y, Z output control register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TYZOC
Address
008A16
When reset
XXXXX0002
Bit symbol
Bit name
Function
RW
TZOS
Timer Z one-shot
start bit (Note 1)
0 : Stops one-shot
1 : Starts one-shot
RW
TYOCNT Timer Y programmable
waveform generation
0 : Outputs programmable waveform
output switching bit (Note 2) 1 : Outputs the value of P32 port register
RW
TZOCNT Timer Z programmable
0 : Outputs programmable waveform
waveform generation
output switching bit (Note 2)
1 : Outputs the value of P31 port register
RW
Nothing is assigned.
When write, set "0". When read, their contents are "0".
Note 1: This bit is automatically cleared to "0" when the output of one-shot waveform is completed. This bit should be set to
"0" by program when the one-shot waveform output is terminated by setting the count start flag to "0" during the
waveform output.
Note 2: This bit is valid only when operating in programmable waveform generation mode.
Figure 12.15 Timer Y-related registers (2)
Rev.1.00 Oct 20, 2004 page 83 of 222
REJ09B0007-0100Z