English
Language : 

SH7020 Datasheet, PDF (279/509 Pages) Renesas Technology Corp – SuperH™ RISC engine
5. Reset the TCNT3 (to H'0000). The TCNT4 need not be set.
6. The GRA3 is the waveform period register. Set the waveform period value in the GRA3. Set
the transition times of the PWM output waveforms in the GRB3, GRA4, and GRB4. Set times
within the compare match range of the TCNT3.
X ≤ GRA3 (X: setting value)
7. Set the STR3 bits in the TSTR to 1 to let the TCNT3 start counting.
Reset synchronized
PWM mode
Stop counting
(1)
Select counter clock
(2)
Select counter clear source (3)
Select reset-synchronized
PWM mode
(4)
Set TCNT
(5)
Set general registers
(6)
Start counting
(7)
Reset-synchronized PWM mode
Figure 10.31 Procedure for Selecting the Reset-Synchronized PWM Mode
RENESAS 263