
Rev.2.10 Apr 14, 2006 page 146 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 14. Three-Phase Motor Control Timer Function
Figure 14.8 Registers TA1MR, TA2MR, TA4MR, and TB2MR
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
Operating mode
select bits
MR1
RW
RW
RW
RW
MR2
MR3
TCK0
TCK1
Set to 10b (one-shot timer mode)
when using the three-phase motor
control timer function
Set to 0 when using the three-phase
motor control timer function
Set to 1 (selected by the TRGSR
register) when using the three-phase
motor control timer function
: f1 or f2
(1)
: f8
: f32
: fC32
External trigger
select bit
Trigger select bit
Set to 0 when using the three-phase motor control timer function
Count source select bits
b7
0
0
1
1
b6
0
1
0
1
Pulse output function
select bit
Set to 0 when using the three-phase
motor control timer function
b6 b5 b3 b2 b1b4b7 b0
110000
NOTE:
1. Selected by the PCLK0 bit in the PCLKR register.
Timer B2 Mode Register
Symbol Address After Reset
TB2MR 039Dh 00XX0000b
RW
RW
RW
Bit Name Function
Bit
Symbol
TMOD0
TMOD1
MR0
Operating mode
select bits
MR1
RW
RW
MR2
MR3
TCK0
TCK1
Set to 00b (timer mode) when using
the three-phase motor control timer
function
: f1 or f2
(1)
: f8
: f32
: fC32
Disabled when using the three-phase motor control timer function.
If necessary, set to 0.
When read, the content is undefined.
Set to 0 when using the three-phase motor control timer function
If necessary, set to 0 when using the three-phase motor control
timer function.
When read when using the three-phase motor control timer
function, the content is undefined.
Count source select bits
b7
0
0
1
1
b6
0
1
0
1
RO
RW
RW
RW
b6 b5 b3 b2 b1b4b7 b0
000
NOTE:
1. Selected by the PCLK0 bit in the PCLKR register.
Komentáře k této Příručce