English
Language : 

M16C1N Datasheet, PDF (101/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
12. Timers
Conditions: Timer Y primary=0316, Timer Y primary waveform not extended,
Timer Y secondary=0216, Timer Y secondary waveform extended,
Timer Y output level latch [TYOPL]=0
fPY
"1"
Count start flag
"0"
The contents of Timer Y
Count start
0316
Set to "1" by
software
Timer Y
secondary
reload
Timer Y
primary
reload
0216 0116 0016 0216 0116 0016 0316
Timer Y
secondary
reload
0216 0116 0016 0216 0116
Cleared to "0" when interrupt
request is accepted,
or cleared by software
Timer Y interrupt "1"
request bit "0"
Timer Y output "1"
level latch "0"
"H"
TYOUT pin output
"L"
Cleared to "0"
by software
Waveform
output started
Waveform
output inverted
Waveform
output inverted
(Note 1)
Waveform
output inverted
Initialized to "L"
Secondary waveform
extended
Note 1: The waveform output in the secondary period is inverted after 0.5 clock (1 clock when
secondary waveform extended) of fPY from occurrence of Timer Y interrupt request.
Figure 12.19 Timer Y operation example in programmable waveform generation mode
Programmable waveform generation output switching function
When the Timer Y programmable waveform generation output switching bit (bit 1 at address 008A16)
is set to 0, the output from TYOUT is inverted synchronously when the Timer Y secondary underflows.
And when set to 1, the Port P32 register value is output from TYOUT synchronously when the Timer Y
secondary underflows.
Rev.1.00 Oct 20, 2004 page 89 of 222
REJ09B0007-0100Z