Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 8 16-BIT TIMER/EVENT COUNTER AB (TAB)
R01UH0042EJ0500 Rev.5.00 Page 400 of 1513
Aug 12, 2011
To transfer data from the TABnCCRm register to the CCRm buffer register, the TABnCCR1 register must be
written.
To change both the cycle and active level of the PWM waveform at this time, first set the cycle to the
TABnCCR0 register, set the active level width to the TABnCCR2 and TABnCCR3 registers, and then set the
active level width to the TABnCCR1 register.
To change only the cycle of the PWM waveform, first set the cycle to the TABnCCR0 register, and then write
the same value to the TABnCCR1 register.
To change only the active level width (duty factor) of the PWM wave, first set the active level to the TABnCCR2
and TABnCCR3 registers, and then set the active level to the TABnCCR1 register.
To change only the active level width (duty factor) of the PWM waveform output by the TOABn1 pin, only the
TABnCCR1 register has to be set.
To change only the active level width (duty factor) of the PWM waveform output by the TOABn2 and TOABn3
pins, first set the active level width to the TABnCCR2 and TABnCCR3 registers, and then write the same value
to the TABnCCR1 register.
After the TABnCCR1 register is written, the value written to the TABnCCRm register is transferred to the CCRm
buffer register in synchronization with the timing of clearing the 16-bit counter, and is used as the value to be
compared with the value of the 16-bit counter.
To write the TABnCCR0 to TABnCCR3 registers again after writing the TABnCCR1 register once, do so after
the INTTABnCC0 signal is generated. Otherwise, the value of the CCRm buffer register may become
undefined because the timing of transferring data from the TABnCCRm register to the CCRm buffer register
conflicts with writing the TABnCCRm register.
Remark m = 0 to 3,
n = 0, 1