
R01UH0336EJ0102 Rev.1.02
Page 731 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(5)
TSG2n Control Register 5 (TSnCTL5)
This register controls A/D conversion trigger output (TSnADTRG0).
Access
This register can be read/written in 16-bit units.
Address
<
TSG2n_base1
> + 008
H
Initial value
0000
H
This register is initialized by a reset from any source.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
TSnACC
[01:00]
TSn
AT09
TSn
AT08
TSn
AT07
TSn
AT06
TSn
AT05
TSn
AT04
TSn
AT03
TSn
AT02
TSn
AT01
TSn
AT00
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 15-11
TSnCTL5 Register Contents (1/3)
Bit Position
Bit Name
Function
11, 10
TSnACC
[01:00]
Specifies the skipping rate of the A/D conversion trigger (TSnADTRG0).
TSnACC01
TSnACC00
Skipping Rate
0
0
None
0
1
1/2
1
0
1/4
1
1
1/8
•
When a write access is made (including a write of the same value to
TSnACC01 and TSnACC00) to TSnCTL5 during timer operation
(TSnSTR0.TSnTE = 1), the interrupt skipping counter is cleared.
9
TSnAT09
Specifies generation of A/D conversion trigger (TSnADTRG0) at the (peak)
timing when the 16-bit sub-counter switches from incrementing to
decrementing.
0: Disables generation of the A/D conversion trigger at the peak timing of the
16-bit sub-counter.
1: Enables generation of the A/D conversion trigger at the peak timing of the
16-bit sub-counter.
•
The TSnAT09 bit can be set to 1 only in HT-PWM mode. In other modes, the
TSnAT09 bit should be set to 0.
•
Do not set the TSnAT09 bit to 1 when TSnDTC0W is not 0000
H
and
TSnDTC1W is 0000
H
. A/D conversion trigger is not generated at the peak
timing of the 16-bit sub-counter even if set so.
8
TSnAT08
Specifies generation of A/D conversion trigger (TSnADTRG0) at the (valley)
timing when the 16-bit sub-counter switches from decrementing to
incrementing.
0: Disables generation of the A/D conversion trigger at the valley timing of the
16-bit sub-counter.
1: Enables generation of the A/D conversion trigger at the valley timing of the
16-bit sub-counter.
•
The TSnAT08 bit can be set to 1 only in HT-PWM mode. In other modes, the
TSnAT08 bit should be set to 0.
•
Do not set the TSnAT08 bit to 1 when TSnDTC0W is 0000
H
and
TSnDTC1W is not 0000
H
. A/D conversion trigger is not generated at the
valley timing of the 16-bit sub-counter even if set so.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...