Timer B
M30240 Group
Rev.1.00 Sep 24, 2003 Page 173 of 360
Figure 2.34: Timer B related register (1)
Figure 2.35: Timer B related register (2)
Timer Bi mode register
Symbol Address When reset
TBiMR(i = 0 to 2) 039B
16 to 039D16 00XX00002
Bit name
FunctionBit symbol
WR
b7 b6 b5 b4 b3 b2 b1 b0
0 0 : Timer mode
b1 b0
TCK1
MR3
MR2
MR1
TMOD1
MR0
TMOD0
TCK0
Invalid in timer mode. Can be either "0" or "1".
Count source select bit
Operation mode select bit
(Note 1)
(Note 2)
Note 1: Timer B0.
Note 2: Timer B1, Timer B2.
Fixed to "0" in timer mode (i = 0).
This bit cannot be set or reset. ( i = 1, 2)
Invalid in timer mode.
0 0 : f1
0 1 : f8
1 0 : f32
00
1 1 : Reserved
Symbol Address When reset
TABSR 0380
16 0016
Count start flag
Bit name
Bit symbol
WR
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
Function
Symbol Address When reset
TB0 0391
16, 039016 Indeterminate
TB1 0393
16, 039216 Indeterminate
TB2 0395
16, 039416 Indeterminate
b7 b0 b7 b0
(b15) (b8)
Timer Bi register (Note)
WR
• Timer mode 000016 to FFFF16
Counts the timer's period
Function
Values that can be set
Note: Read and write data in 16-bit units.