English
Language : 

UPD70F3786GJ-GAE-AX Datasheet, PDF (632/1817 Pages) Renesas Technology Corp – RENESAS MCU V850ES/Jx3-E Microcontrollers
V850ES/JH3-E, V850ES/JJ3-E
CHAPTER 11 MOTOR CONTROL FUNCTION
Figure 11-24. Example of Rewriting TAB1CCR1 to TAB1CCR3 Registers (Rewriting Before Match Occurs)
(a)
If the TAB1CCRm register is rewritten before its value matches the value of the 16-bit counter, the register value
will match the value of the 16-bit counter after the register has been rewritten. Consequently, the new register
value is immediately reflected.
16-bit
i
counter
TAB1CCRm
i
register
CCRm buffer
i
register
TOAB1Tm
pin output
k
k
k
k
k
(b)
If a value less than the value of the 16-bit counter (greater if the counter is counting down) is written to the
TAB1CCRm register, the output waveform is as follows because the register value does not match the counter
value.
16-bit
counter
TAB1CCRm
register
CCRm buffer
register
TOAB1Tm
pin output
i
r
i
i
r
r
r
r
If the register value does not match the counter value, the TOAB1Tm pin output does not change. Even if the
value of the 16-bit counter does not match the value of the TAB1CCRm register, the TOAB1Tm pin output
always changes to the high level if the crest interrupt occurs and to the low level if the valley interrupt occurs.
This is a function provided for 0% output and 100% output.
For details, see 11.4.2 (2) PWM output of 0%/100%.
Remarks 1. i, r, k = Set values of TAB1CCRm register
2. m = 1 to 3
R01UH0290EJ0300 Rev.3.00
Sep 19, 2011
Page 632 of 1817