EasyManuals Logo

Renesas M16C/29 Series User Manual

Renesas M16C/29 Series
501 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #158 background imageLoading...
Page #158 background image
12. Timer (Three-phase Motor Control Timer Function)
puorG92/C61M
page 132
854fo7002,03.raM21.1.veR
2110-1010B90JER
Figure 12.31 TB2 Register, TRGSR Register, and TABSR Register
Symbol Address After Reset
TB2 0395
16
-0394
16
Undefined
b7 b0 b7
b0
(b15) (
b8)
RW
0000
16
to FFFF
16
Function
Setting Range
Timer B2 Register
(1)
NOTE:
1. Access the register by 16 bit units.
RW
Divide the count source by n + 1 where n = set value.
Timer A1, A2 and A4 are started at every occurrence of
underflow.
TA1TGL
Symbol Address After Reset
TRGSR 0383
16
00
16
Timer A1 event/trigger
select bit
To use the V-phase output control
circuit, set these bits to 01
2
”(TB2
underflow).
Trigger Select Register
Bit Name Function
Bit Symbol
b0
To use the W-phase output control
circuit, set these bits to 01
2
”(TB2
underflow).
0 0 :
Input on TA3
IN
is selected
(1)
0 1 :
TB2 is selected
(2)
1 0 :
TA2 is selected
(2)
1 1 :
TA4 is selected
(2)
To use the U-phase output control
circuit, set these bits to 01
2
”(TB2
underflow).
Timer A2 event/trigger
select bit
Timer A3 event/trigger
select bit
Timer A4 event/trigger
select bit
RW
TA1TGH
TA2TGL
TA2TGH
TA3TGL
TA3TGH
TA4TGL
TA4TGH
b5 b4
NOTES:
1. Set the corresponding port direction bit to 0 (input mode).
2. Overflow or underflow.
b7 b6 b5 b4 b3 b2 b1
Symbol Address After reset
TABSR 0380
16
00
16
Count Start Flag
Bit Name FunctionBit Symbol
b7 b6 b5 b4 b3 b2 b1 b0
Timer B2 count start flag
Timer B1 count start flag
Timer B0 count start flag
Timer A4 count start flag
Timer A3 count start flag
Timer A2 count start flag
Timer A1 count start flag
Timer A0 count start flag
0 : Stops counting
1 : Starts counting
TB2S
TB1S
TB0S
TA4S
TA3S
TA2S
TA1S
TA0S
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M16C/29 Series and is the answer not in the manual?

Renesas M16C/29 Series Specifications

General IconGeneral
BrandRenesas
ModelM16C/29 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals