
R01UH0336EJ0102 Rev.1.02
Page 738 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
Caution
This register should be set when the timer is stopped (TSnSTR0.TSnTE = 0).
Only the same value can be written during timer operation (TSnSTR0.TSnTE =
1). If the different value is written to this register when TSnSTR0.TSnTE = 1,
timer operation cannot be guaranteed. If this register is erroneously rewritten,
set this register again after stopping the timer.
Table 15-14
TSnIOC1 Register Contents (2/2)
Bit Position
Bit Name
Function
1
TSnTGS
Selects the A/D conversion trigger diagnostic output (TSG2nO7) signal.
0: Selects A/D conversion trigger output.
1: Selects diagnostic output.
0
TSnTOS
Selects the timer counter increment/decrement status output (TSG2nO0)
signal.
0: Outputs the up/down count flag of the 16-bit counter.
1: Outputs the up/down count flag of the 16-bit sub-counter.
•
When TSnTOS is 0, the status of TSnSTR0.TSnCUF is output to
TSG2nO0. When TSnTOS is 1, the status of TSnSTR0.TSnSUF is output
to TSG2nO0.
•
The setting of this bit is valid only in HT-PWM mode.