R01UH0092EJ0110 Rev.1.10
Page 336 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.2.4
Three-Phase PWM Control Register 1 (INVC1)
Set the PRC1 bit in the PRCR register to 1 (write enabled) before rewriting this register.
Rewrite the INVC1 register while timers A1, A2, A4, and B2 are stopped.
INV11 (Timer A1, A2, and A4 start trigger select bit) (b1)
The following table lists items influenced by the INV11 bit.
When the INV06 bit is 1 (sawtooth wave modulation mode), set the INV11 bit to 0 (three-phase mode
0). Also, when the INV11 bit is 0, set the PWCON bit in the TB2SC register to 0 (timer B2 is reloaded
when timer B2 underflows).
Table 19.6
INV11 Bit
Item
INV11 = 0
INV11 = 1
Mode
Three-phase mode 0
Three-phase mode 1
Registers TA11, TA21
and TA41
Not used
Used
Bits INV00 to INV01 in
the INVC0 register
Disabled
The ICTB2 counter decrements
whenever timer B2 underflows.
Enabled
INV13 bit
Disabled
Enabled when INV11 is 1 and INV06 is 0
b7 b6 b5 b4
b1
b2
b3
Three-Phase PWM Control Register 1
Symbol
INVC1
Address
0309h
Bit Symbol
Bit Name
RW
Reset Value
00h
b0
Function
INV10
RW
RW
0 : Timer B2 underflow
1 : Timer B2 underflow and write to the TB2
register when timer B2 stops
Timer A1, A2 and A4 start
trigger select bit
INV11
Timer A1-1, A2-1 and A4-1
control bit
0 : Three-phase mode 0
1 : Three-phase mode 1
INV12
Dead time timer count
source select bit
0 : f1TIMAB or f2TIMAB
1 : f1TIMAB divided by 2 or
f2TIMAB divided by 2
Dead time timer trigger
select bit
0 : Falling edge of one-shot pulse of timer
(A4, A1, and A2)
1 : Rising edge of the three-phase output
shift register (U-, V-, W-phase) output
INV16
RW
0
RO
INV13
Carrier wave rise/fall detect
flag
0 : Timer A1 reload control signal is 0
1 : Timer A1 reload control signal is 1
INV14
Active level control bit
0 : Active low
1 : Active high
RW
RW
—
(b7)
Reserved bit
Set to 0
RW
INV15
Dead time disable bit
0 : Dead time enabled
1 : Dead time disabled
RW
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...