R01UH0136EJ0210 Rev.2.10
Page 360 of 800
Jul 31, 2012
M16C/64A Group
19. Three-Phase Motor Control Timer Function
Table 19.17
Registers and Settings in Sawtooth Wave Modulation Mode (1/2)
Register
Bit
Function and Setting
INVC0
INV00
Disabled (Despite the settings, 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 1 (sawtooth wave modulation mode).
INV07
Software trigger bit
INVC1
INV10
Select a start trigger for timers A1, A2, and A4.
INV11
Set to 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 an output logic of the three-phase output shift register.
DTT
7 to 0
Set the dead time.
ICTB2
3 to 0
Set the frequency of 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 the cycle of the carrier wave.
i = 1, 2, 4
Note:
1.
This table does not describe a procedure.
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...