Datasheet
Section 14 Timer Z 
    Rev. 3.00 Mar. 15, 2006 Page 267 of 526 
   REJ09B0060-0300 
•  To output a 100%-duty cycle waveform, write H'0000 while previous GR value< 
TCNT_0 ≤ GRA_0 
To change duty cycles while a waveform with a duty cycle of 0% or 100% is being 
output, make sure the following procedure. 
•  To change duty cycles while a 0%-duty cycle waveform is being output, write to GR 
while H'0000 ≤ TCNT_1 < previous GR value 
•  To change duty cycles while a 100%-duty cycle waveform is being output, write to GR 
while previous GR value< TCNT_0 ≤ GRA_0 
Note that changing from a 0%-duty cycle waveform to a 100%-duty cycle waveform 
and vice versa is not possible. 
b.  Buffer operation is used and TPSC2 = TPSC1 = TPSC0 = 0 
Write H'0000 or a value equal to or more than the GRA_0 value to the buffer register. 
•  To output a 0%-duty cycle waveform, write a value equal to or more than the GRA_0 
value to the buffer register 
•  To output a 100%-duty cycle waveform, write H'0000 to the buffer register 
For details on buffer operation, see section 14.4.8, Buffer Operation. 
c.  Buffer operation is not used and other than TPSC2 = TPSC1 = TPSC0 = 0 
Write a value which satisfies GRA_0 + 1 < GR < H'FFFF to GR directly at the timing 
shown below. 
•  To output a 0%-duty cycle waveform, write the value while H'0000 ≤ TCNT_1 < 
previous GR value 
•  To output a 100%-duty cycle waveform, write the value while previous GR value< 
TCNT_0 ≤ GRA_0 
To change duty cycles while a waveform with a duty cycle of 0% and 100% is being 
output, the following procedure must be followed. 
•  To change duty cycles while a 0%-duty cycle waveform is being output, write to GR 
while H'0000 ≤ TCNT_1 < previous GR value 
•  To change duty cycles while a 100%-duty cycle waveform is being output, write to GR 
while previous GR value< TCNT_0 ≤ GRA_0 
Note that changing from a 0%-duty cycle waveform to a 100%-duty cycle waveform 
and vice versa is not possible. 










