Datasheet

Table Of Contents
12. Timer
page 130
923fo7002,51.beF00.2.veR
0020-2020B90JER
)T62/C61M,B62/C61M,A62/C61M(puorGA62/C61M
Figure 12.3.2.1. Usage Example of Three-phse/Port output switch function
12.3.2 Three-phase/Port Output Switch Function
When the INVC03 bit in the INVC0 register set to 1(Timer output enabled for three-phase motor control)
and setting the PFCi (i=0 to 5) in the PFCR register to 0(I/O port), the three-phase PWM output pin (U,
__ __ ___
U, V, V, W and W) functions as I/O port. Each bit in the PFCi bits (i=0 to 5) is applicable for each one of
three-phase PWM output pins. Figure 12.3.2.1 shows the example of three-phase/port output switch
function. Figure 12.3.2.2 shows the PFCR register and the three-phase protect control register.
Timer B2
U phase
V Phase
W phase
Writing PFCR register
(1)
PFC0 bit : "1"
PFC2 bit : "1"
PFC4 bit : "0"
Functions as port P7
4
Functions as port P7
2
Writing PFCR register
(1)
PFC0 bit : "1"
PFC2 bit : "0"
PFC4 bit : "1"
NOTE:
1. A hazard may be generated at the output signal, depending on the output switch timing. Also, do not generate (short) be switching to port output
during the dead time of three-phase output.