English
Language : 

M32C80 Datasheet, PDF (182/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
15. Three-Phase Motor Control Timer Functions
Timer B2 Register(1)
b15
b8 b7
b0
Symbol
TB2
Address
035516 - 035416
After Reset
Indeterminate
Function
Setting Range RW
If setting value is n, count source is divided by n+1.
The timers A1, A2 and A4 start every time an underflow occurs. 000016 to FFFF16 RW
NOTE:
1. Use a 16-bit data for read and write.
Trigger Select Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TRGSR
Address
034316
After Reset
0016
Bit
Symbol
TA1TGL
TA1TGH
Bit Name
Timer A1 Event/Trigger
Select Bit
Function
RW
Set to "012" (TB2 underflow) before RW
using the V-phase output control circuit RW
TA2TGL
TA2TGH
TA3TGL
TA3TGH
Timer A2 Event/Trigger
Select Bit
Timer A3 Event/Trigger
Select Bit
Set to "012" (TB2 underflow) before RW
using the W-phase output control circuit RW
b5 b4
0 0: Selects an input to the TA3IN pin RW
0 1: Selects TB2 overflow(1)
1 0: Selects TA2 overflow(1)
1 1: Selects TA4 overflow(1)
RW
TA4TGL
TA4TGH
NOTE:
1. Overflow or underflow.
Timer A4 Event/Trigger
Select Bit
Set to "012" (TB2 underflow) before RW
using the U-phase output control circuit RW
Count Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TABSR
Address
034016
After Reset
0016
Bit
Symbol
Bit Name
Function
RW
Timer A0 Count
TA0S Start Flag
0: Stops counting
1: Starts counting
RW
Timer A1 Count
TA1S Start Flag
0: Stops counting
1: Starts counting
RW
Timer A2 Count
0: Stops counting
TA2S Start Flag
1: Starts counting
RW
Timer A3 Count
0: Stops counting
TA3S Start Flag
1: Starts counting
RW
Timer A4 Count
0: Stops counting
TA4S Start Flag
1: Starts counting
RW
Timer B0 Count
TB0S Start Flag
0: Stops counting
1: Starts counting
RW
TB1S
Timer B1 Count
Start Flag
0: Stops counting
1: Starts counting
RW
TB2S
Timer B2 Count
Start Flag
0: Stops counting
1: Starts counting
RW
Figure 15.6 TB2, TRGSR and TABSR Registers
Rev. 1.00 Nov. 01, 2005 Page 163 of 330
REJ09B0271-0100