M16C/62P Group (M16C/62P, M16C/62PT)
16. Three-Phase Motor Control Timer Function
Rev.2.41
Jan 10, 2006
Page 173 of 390
REJ09B0185-0241
Figure 16.8
TA1MR, TA2MR, TA4MR and TB2MR Registers
Timer Ai Mode Register (i=1, 2, 4)
Address
After Reset
0397h, 0398h
00h
039Ah
00h
Bit Symbol
Function
RW
NOTES :
1. Selected by PCLK0 bit in the PCLKR register.
Count Source Select Bit
b7 b6
0 0 : f1 or f2
(1)
0 1 : f8
1 0 : f32
1 1 : fC32
RW
MR3
Set to “0” w ith the three-phase motor control timer function
TCK1
RW
RW
TCK0
Symbol
Set to “0” w ith the three-phase motor control timer
function
Trigger Select Bit
Set to “1” (selected by the TRGSR register) w ith
the three-phase motor control timer function
TA1MR, TA2MR
Bit Name
TA4MR
0 0 1 0
0 1
RW
MR0
RW
Set to “10b” (one-shot timer mode) w ith the three-
phase motor control timer function
TMOD0
RW
Set to “0” w ith the three-phase motor control timer
function
Pulse output Function Select
Bit
TMOD1
Operation Mode Select Bit
b7 b6 b5 b4 b3 b2 b1 b0
RW
RW
MR1
External Trigger Select Bit
MR2
Timer B2 Mode Register
Address
After Reset
039Dh
00XX0000b
Bit Symbol
Function
RW
NOTES :
1.
0 0
0
b3 b2 b1 b0
b7 b6 b5 b4
Symbol
TMOD1
RW
RW
RO
MR1
TCK0
Disabled w hen using the three-phase motor control timer function.
When w rite, set to “0”.
When read, its content is indeterminate.
RW
MR3
TB2MR
RW
MR0
RW
Set to “00b” (timer mode) w hen using the three-
phase motor control timer function
TMOD0
RW
Selected by PCLK0 bit in the PCLKR register.
RW
Bit Name
Operation Mode Select Bit
MR2
Count Source Select Bit
b7 b6
0 0 : f1 or f2
(1)
0 1 : f8
1 0 : f32
1 1 : fC32
When w rite in three-phase motor control timer function, set to “0”.
When read in three-phase motor control timer function,
its content is indeterminate.
TCK1
Set to “0” w hen using three-phase motor control timer function
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655