
R01UH0336EJ0102 Rev.1.02
Page 728 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(3)
TSG2n Control Register 3 (TSnCTL3)
This register selects the rewrite method of the compare registers.
Access
This register can be read/written in 8-bit units.
Address
<TSG2n_base1> + 004
H
Initial value
00
H
This register is initialized by a reset from any source.
7
6
5
4
3
2
1
0
-
-
-
-
-
-
TSn
RIA
TSn
RMC
R
R
R
R
R
R
R/W
R/W
Table 15-9
TSnCTL3 Register Contents
Bit Position
Bit Name
Function
1
TSnRIA
Selects the reload timing of the compare register values.
0: The reload timing is set to peak reload timing (set by TSnCTL4.TSnPRE)
and valley reload timing (set by TSnCTL4.TSnVRE).
1: The reload timing is set to peak interrupt timing and valley interrupt timing.
•
The setting of this bit is valid in reload mode (TSnRMC = 0).
0
TSnRMC
Selects the transfer timing of the compare register values.
0: Reload mode (simultaneous rewrite)
Writing to TSnCMP1 (TSnCMP1W, TSnCMPU, TSnUPW) enables
reloading and the register values are rewritten simultaneously at the next
reload timing. Writing to any register other than TSnCMP1 (TSnCMP1W,
TSnCMPU, TSnUPW) does not enable reloading.
1: Anytime rewrite mode
The compare registers are rewritten independently. Whenever a value is
written to the compare register, the written value is reflected immediately.
TSnRSF is cleared.