Renesas M16C FAMILY series Hardware Manual page 149

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
Timer B2 Register
(b15)
b7
NOTE:
1. Access the register by 16 bit units.
Trigger Select Register
b7 b6 b5 b4 b3 b2 b1
NOTES:
1. Set the corresponding port direction bit to "0" (input mode).
2. Overflow or underflow.
Count Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Figure 12.31 TB2 Register, TRGSR Register, and TABSR Register
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
(1)
(b8)
b0
b0 b7
Divide the count source by n + 1 where n = set value.
Timer A1, A2 and A4 are started at every occurrence of
underflow.
b0
Symbol
TRGSR
Bit Symbol
TA1TGL
TA1TGH
TA2TGL
TA2TGH
TA3TGL
TA3TGH
TA4TGL
TA4TGH
Symbol
TABSR
Bit symbol
TA0S
Timer A0 count start flag
TA1S
Timer A1 count start flag
TA2S
Timer A2 count start flag
TA3S
Timer A3 count start flag
TA4S
Timer A4 count start flag
TB0S
Timer B0 count start flag
TB1S
Timer B1 count start flag
TB2S
Timer B2 count start flag
page 129
f o
3
8
5
Symbol
Address
TB2
0395
16
Function
Address
After Reset
0383
00
16
16
Bit Name
Timer A1 event/trigger
To use the V-phase output control
circuit, set these bits to "01
select bit
underflow).
Timer A2 event/trigger
To use the W-phase output control
select bit
circuit, set these bits to "01
underflow).
b5 b4
Timer A3 event/trigger
0 0 :
select bit
0 1 :
1 0 :
1 1 :
To use the U-phase output control
Timer A4 event/trigger
circuit, set these bits to "01
select bit
underflow).
Address
After reset
0380
00
16
16
Bit name
After Reset
-0394
Indeterminate
16
Setting Range
0000
to FFFF
16
16
Function
"(TB2
2
"(TB2
2
(1)
Input on TA3
is selected
IN
(2)
TB2 is selected
(2)
TA2 is selected
(2)
TA4 is selected
"(TB2
2
Function
0 : Stops counting
1 : Starts counting
12. Timer
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents