R01UH0092EJ0110 Rev.1.10
Page 340 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.2.8
Timer B2 Special Mode Register (TB2SC)
Set the PRC1 bit in the PRCR register to 1 (write enabled) before rewriting this register.
PWCON (Timer B2 reload timing switch bit) (b0)
If the INV11 bit in the INVC1 register is 0 (three-phase mode 0) or the INV06 bit in the INVC0 register is
1 (sawtooth wave modulation mode), set the PWCON bit to 0 (timer B2 underflow).
IVPCR1 (Three-phase output port
SD
control bit 1) (b1)
Related pins are U,
U
, V,
V
, W, and
W
.
If a low-level signal is applied to the
SD
pin when the IVPCR1 bit is 1, three-phase motor control timer
output is disabled (INV03 bit in the INVC0 register becomes 0). Then, the target pins become high-
impedance regardless of the functions those pins are using.
After a forced cutoff, input a high-level signal to the
SD
pin and set the IVPCR1 bit to 0 to cancel the
forced cutoff.
RW
Timer B2 Special Mode Register
Symbol
TB2SC
Address
033Eh
Bit Symbol
RW
PWCON
Reset Value
X000 0000b
RW
—
(b6-b2)
Bit Name
Timer B2 reload timing
switch bit
Function
0 : Timer B2 underflow
1 : Timer A output at odd-numbered
occurrences
Reserved bits
IVPCR1
RW
Three-phase output port SD
control bit 1
0 : Three-phase output forced cutoff by
SD input (high-impedance) disabled
1 : Three-phase output forced cutoff by SD
input (high-impedance) enabled
b7
0
0
0
0
0
b6 b5 b4
b1
b2
b3
b0
—
—
(b7)
No register bit. If necessary, set to 0. The read value is undefined.
Set to 0
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...