English
Language : 

UPD70F3793GC-UEU-AX Datasheet, PDF (353/1113 Pages) Renesas Technology Corp – RENESAS MCU V850ES/Jx3-L Microcontrollers
V850ES/JG3-L
CHAPTER 8 16-BIT TIMER/EVENT COUNTER Q (TMQ)
(b) Batch write
This writing method is used to transfer data from the TQ0CCR0 to TQ0CCR3 registers to the CCR0 to
CCR3 buffer registers all at once while TMQ0 is operating. The data is transferred when the value of the
16-bit counter matches the value of the CCR0 buffer register. Transfer is enabled by writing to the
TQ0CCR1 register. Whether transfer of the next data is enabled or not depends on whether the
TQ0CCR1 register has been written.
To specify the value of the rewritten TQ0CCR0 to TQ0CCR3 registers as the 16-bit counter compare
value (that is, the value to be transferred to the CCR0 to CCR3 buffer registers), the TQ0CCR0 register
must be rewritten before the value of the 16-bit counter matches the value of the CCR0 buffer register,
and then the TQ0CCR1 register must be written. The value of the TQ0CCR0 to TQ0CCR3 registers is
then transferred to the CCR0 to CCR3 buffer registers when the value of the 16-bit counter matches the
value of the CCR0 buffer register. Note that even if you wish to rewrite one of the TQ0CCR0, TQ0CCR2
and TQ0CCR3 register values, you must also write the same value to the TQ0CCR1 register (that is, the
same value as the value already specified for the TQ0CCR1 register).
R01UH0165EJ0700 Rev.7.00
Sep 22, 2011
Page 353 of 1113