Compare Register Rewrite Operation - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

10.4.2 Compare register rewrite operation

In the PWM mode, high-accuracy T-PWM mode, PWM mode with dead time, external trigger pulse
output mode, and triangular wave PWM mode, the reload function is valid. (In all other modes,
reload-related settings are invalid.)
The compare/control registers with the reload function are listed below.
• TRnCCR0 to TRnCCR5
• TRnOPT1
Compare registers with the reload function can be rewritten in the following modes.
• Anytime rewrite mode
In this mode, each compare register is updated independently, and when a compare register is
written to, the register is updated to the value written during anytime write access.
• Reload mode (batch rewrite)
When the TRnCCR1 register is written to, all the registers are updated at the next reload timing
(reload).
Reload does not occur even if a register other than the TRnCCR1 register is written to.
A reload request flag (TRnRSF) is provided.
The compare register can be rewritten using DMA transfer. DMA transfer is performed as follows.
Note: Dummy data transfer
Chapter 10 16-bit Inverter Timer/Counter R
Address
Register Name
FFFFF590H
TR0CCR5
FFFFF592H
TR0CCR4
FFFFF594H
-
FFFFF596H
-
FFFFF598H
TR0CCR0
FFFFF59AH
TR0CCR3
FFFFF59CH
TR0CCR2
FFFFF59EH
TR0CCR1
Address
Register Name
FFFFF5D0H
TR1CCR5
FFFFF5D2H
TR1CCR4
FFFFF5D4H
-
FFFFF5D6H
-
FFFFF5D8H
TR1CCR0
FFFFF5DAH
TR1CCR3
FFFFF5DCH
TR1CCR2
FFFFF5DEH
TR1CCR1
User's Manual U16580EE3V1UD00
DMA Transfer Sequence
Note
Note
DMA Transfer Sequence
Note
Note
345

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents