Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 8 16-BIT TIMER/EVENT COUNTER AB (TAB)
R01UH0042EJ0500 Rev.5.00 Page 429 of 1513
Aug 12, 2011
8.5.8 Triangular wave PWM mode (TABnMD2 to TABnMD0 bits = 111)
In the triangular wave PWM mode, TABn capture/compare register k (TABnCCRk) is used to set the duty factor, and
TABn capture/compare register 0 (TABnCCR0) is used to set the cycle.
By using these four registers and operating the timer, triangular wave PWM with a variable cycle is output.
The value of the TABnCCRm register can be rewritten when TABnCE = 1.
To stop timer AB, clear TABnCE to 0. The PWM waveform is output from the TOABnk pin. The TOABn0 pin produces a
toggle output when the value of the 16-bit counter matches the value of the TABnCCR0 register and when the counter
underflows.
Caution In the PWM mode, the capture function of the TABnCCRm register cannot be used because this
register can be used only as a compare register.
Remark n = 0, 1, m = 0 to 3, k = 1 to 3