R01UH0136EJ0210 Rev.2.10
Page 354 of 800
Jul 31, 2012
M16C/64A Group
19. Three-Phase Motor Control Timer Function
Table 19.14
Registers and Settings in Three-Phase Mode 1 (2/2)
Register
Bit
Function and Setting
TRGSR
TA1TGH to
TA1TGL
Se to 01b (when using V-phase output control circuit).
TA2TGH to
TA2TGL
Set to 01b (when using W-phase output control circuit).
TA3TGH to
TA3TGL
(Not used for three-phase motor control timer.)
TA4TGH to
TA4TGL
Set to 01b (when using U-phase output control circuit).
TABSR
TA0S
Not used for three-phase motor control timer.
TA1S
Set to 1 when starting counting, and to 0 when stopping counting.
TA2S
Set to 1 when starting counting, and to 0 when stopping counting.
TA3S
Not used for three-phase motor control timer.
TA4S
Set to 1 when starting counting, and to 0 when stopping counting.
TB0S
Not used for three-phase motor control timer.
TB1S
Not used for three-phase motor control timer.
TB2S
Set to 1 when starting counting, and to 0 when stopping counting.
TA1MR,
TA2MR,
TA4MR
TMOD1 to
TMOD0
Set to 10b (one-shot timer mode).
MR0
Set to 0.
MR1
Set to 0.
MR2
Set to 1 (select a trigger by setting bits TAiTGH and TAiTGL.).
MR3
Set to 0.
TCK1 to TCK0 Select a count source.
TB2MR
TMOD1 to
TMOD0
Set to 00b (timer mode).
MR1 to MR0
Set to 00b.
4
Set to 0.
MR3
Set to 0.
TCK1 to TCK0 Select a count source.
PCLKR
PCLK0
Select a count source.
TACS0 to
TACS2
7 to 0
Select a count source.
TBCS1
TCS3 to TCS0 Select a count source.
TAPOFS
POFSi
Set to 0.
UDF
TAiP
Set to 0.
i = 1, 2, 4
Note:
1.
This table does not describe a procedure.
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...