Rev.2.00 Nov 28, 2005 page 146 of 378
REJ09B0124-0200
M16C/6N Group (M16C/6NK, M16C/6NM) 14. Three-Phase Motor Control Timer Function
Under development
This document is under development and its contents are subject to change.
Figure 14.8 TA1MR, TA2MR and TA4MR Registers, and TB2MR Register
Timer Ai Mode Register (i = 1, 2, 4)
Symbol Address After Reset
TA1MR, TA2MR, TA4MR 0397h, 0398h, 039Ah 00h
RW
RW
RW
RW
RW
Bit Name Function
Bit
Symbol
TMOD0
TMOD1
MR0
Operation Mode
Select Bit
MR1
RW
RW
RW
RW
MR2
MR3
TCK0
TCK1
Set to "10b" (one-shot timer mode)
with the three-phase motor control
timer function
Set to "0" with the three-phase motor
control timer function
Set to "1" (selected by the
TRGSR register) with the three-phase
motor control timer function
: f1 or f2
: f8
: f32
: fC32
External Trigger
Select Bit
Trigger Select Bit
Set to "0" with the three-phase motor control timer function
Count Source Select Bit
b7
0
0
1
1
b6
0
1
0
1
Pulse Output Function
Select Bit
Set to "0" with the three-phase motor
control timer function
b6 b5 b3 b2 b1b4b7 b0
110000
Timer B2 Mode Register
Symbol Address After Reset
TB2MR 039Dh 00XX0000b
RW
RW
RW
Bit Name Function
Bit
Symbol
TMOD0
TMOD1
MR0
Operation Mode
Select Bit
MR1
RW
RW
MR2
MR3
TCK0
TCK1
Set to "00b" (timer mode) when using
the three-phase motor control timer
function
: f1 or f2
: f8
: f32
: fC32
Disabled when using the three-phase motor control timer function.
When write, set to "0".
When read, its content is indeterminate.
Set to "0" when using three-phase motor control timer function
When write in three-phase motor control timer function, set to "0".
When read in three-phase motor control timer function,
its content is indeterminate.
Count Source Select Bit
b7
0
0
1
1
b6
0
1
0
1
RO
RW
RW
RW
b6 b5 b3 b2 b1b4b7 b0
000