R01UH0092EJ0110 Rev.1.10
Page 350 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
Table 19.10
Registers and Settings in Three-Phase Mode 0 (1/2)
Register
Bit
Function and Setting
INVC0
INV00
Disabled (Despite the setting, the ICTB2 register counts timer B2 underflow.)
INV01
INV02
Set to 1 (three-phase motor control timer function used).
INV03
Set to 1 (three-phase motor control timer output enabled).
INV04
Select simultaneous conduction enabled or disabled.
INV05
Simultaneous conduction detect flag
INV06
Set to 0 (triangular wave modulation mode).
INV07
Software trigger bit
INVC1
INV10
Select a start trigger for timers A1, A2, and A4.
INV11
Set to 0 (three-phase mode 0).
INV12
Select a count source for the dead time timer.
INV13
Disabled
INV14
Select the active level (either active high or active high).
INV15
Select dead time enabled or disabled.
INV16
Select a trigger for the dead time timer.
7
Set to 0.
IDB0, IDB1
5 to 0
Set the output logic of the three-phase output shift registers.
DTT
7 to 0
Set the dead time.
ICTB2
3 to 0
Set the frequency of the timer B2 interrupt request.
TB2SC
PWCON
Set to 0 (timer B2 underflow).
IVPCR1
Select three-phase output forced cutoff enabled or disabled.
b7 to b2
Set to 0.
PDRF
PDRU, PDRV,
PDRW
Position-data-retain bit
PDRT
Select a position-data-retain trigger.
PFCR
PFC5 to PFC0 Select I/O port or three-phase PWM output.
TPRC
TPRC0
Set to 1 when writing to the PFCR register, or to 0 when not writing to it.
TA1, TA2, TA4
15 to 0
Set the one-shot pulse width.
TA11, TA21, TA41
15 to 0
Not used.
TB2
15 to 0
Set one-half cycle of the carrier wave.
TRGSR
TA1TGH to
TA1TGL
Set to 01b (when using V-phase output control circuit).
TA2TGH to
TA2TGL
Set to 01b (when using W-phase output control circuit).
TA3TGH to
TA3TGL
Not used for three-phase motor control timer.
TA4TGH to
TA4TGL
Set to 01b (when using U-phase output control circuit).
Note:
1.
This table does not describe a procedure.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...