Timer B2 Special Mode Register (Tb2Sc) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group
19.2.8

Timer B2 Special Mode Register (TB2SC)

Timer B2 Special Mode Register
b7
b6 b5 b4
b3
b2
b1
0
0
0
0
0
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.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Symbol
b0
TB2SC
Bit Symbol
Bit Name
Timer B2 reload timing
PWCON
switch bit
Three-phase output port SD
IVPCR1
control bit 1
Reserved bits
(b6-b2)
No register bit. If necessary, set to 0. The read value is undefined.
(b7)
19. Three-Phase Motor Control Timer Function
Address
033Eh
Function
0 : Timer B2 underflow
1 : Timer A output at odd-numbered
occurrences
0 : Three-phase output forced cutoff by
SD input (high-impedance) disabled
1 : Three-phase output forced cutoff by SD
input (high-impedance) enabled
Set to 0
Reset Value
X000 0000b
RW
RW
RW
RW
Page 340 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents