R01UH0092EJ0110 Rev.1.10
Page 351 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
Table 19.11
Registers and Settings in Three-Phase Mode 0 (2/2)
Register
Bit
Function and Setting
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.
PCLKSTP1
PCKSTP11
Set to 0 when using f1 or main clock.
PCKSTP17
Select the 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 Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...