Download Print this page

Renesas M16C/50 Series User Manual page 371

Advertisement

M16C/5L Group, M16C/56 Group
17.3.3.1
INV13 Bit in the INVC1 Register
In three-phase mode 1, the INV13 bit can be used to detect whether the cycle of the carrier wave is
the first half or the last half. The INV13 bit is a flag which checks the state of timer A1 reload control
signals. The timer A1 reload control signal becomes 0 while timer A1 is stopped, and the value is
inverted at every start trigger signal for timers A1, A2, and A4. Thus, if the cycle of the carrier wave
starts at the first timer B2 underflow, the first half comes when the INV13 bit is 1, and the last half
comes when it is 0. Table 17.14 lists Relations of the INV13 Bit with Other Factors.
Table 17.14
Relations of the INV13 Bit with Other Factors
INV13 bit
Timer A1 reload control signal
One-shot pulse count value
Timer B2 underflow
Carrier wave
i = 1, 2, 4
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
1
TAi1 register value
At an odd number of times
First half
17. Three-Phase Motor Control Timer Function
TAi register value
At an even number of times
Last half
0
Page 334 of 803

Advertisement

loading