
deveopmen
Timer B
Preliminary Specifications REV.D
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C/80 (100-pin version) group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
103
Symbol
TABSR
Address
0340
16
When reset
00
16
Count start flag
Bit name
Bit symbol
TA0S
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAAAAAAAA
Timer B3, 4, 5 count start flag
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
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
1 : Starts counting
TB2S
TB1S
TB0S
TA4S
TA3S
TA2S
TA1S
Function
Symbol
CPSRF
Address
0381
16
When reset
0XXXXXXX
2
Clock prescaler reset flag
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
1 : Prescaler is reset
Symbol
TB0
TB1
TB2
TB3
TB4
TB5
Address
0351
16
, 0350
16
0353
16
, 0352
16
0355
16
, 0354
16
0311
16
, 0310
16
0313
16
, 0312
16
0315
16
, 0314
16
When reset
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
b7
b0 b7
b0
(b15)
(b8)
Timer Bi register (Note)
W
R
Pulse period / pulse width measurement mode
Measures a pulse period or width
Timer mode
Counts the timer's period
0000
16
to FFFF
16
Function
Values that can be set
Event counter mode
Counts external pulses input or a timer overflow
0000
16
to FFFF
16
Note: Read and write data in 16-bit units.
AA
AA
AA
Symbol
TBSR
Address
0300
16
When reset
000XXXXX
2
Bit name
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
Timer B5 count start flag
TB5S
AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAA
Nothing is assigned.
When write, set "0". When read, the value of these bits is indeterminate.
Timer B4 count start flag
Timer B3 count start flag
0 : Stops counting
TB4S
Function
Nothing is assigned.
When write, set "0". When read, the value of these bits is indeterminate.
Figure 1.14.3. Timer B-related registers (2)