95
Tentative Specifications REV.A
S
pecifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 62T Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
deveopmen
Timer B
Note 1: Read and write data in 16-bit units.
Note 2: In the timer B1 of M30623(80-pin package), do not select the external pulses input
as count source, because timer B1 has no input pin.
Note 3: In the timer B1 of M30623(80-pin package), this mode does not function, because
timer B1 has no input pin.
Symbol
TABSR
Address
0380
16
When reset
00
16
Count start flag
Bit name
Bit symbol
TA0S
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAA
Timer B3, 4, 5 count start flag
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
Timer B1 count start flag
Timer B0 count start flag
Timer A3 count start flag
Timer A2 count start flag
Timer A0 count start flag
0 : Stops counting
TB1S
TB0S
TA3S
TA2S
Function
Symbol
CPSRF
Address
0381
16
When reset
0XXXXXXX
2
Clock prescaler reset flag
Bit name
Function
Bit symbol
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAA
Figure 1.17.16. Timer B-related registers (2)
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
Clock prescaler reset flag
CPSR
0 : No effect
(When read, the value is “0”)
Symbol
TB0
TB1
TB2
TB3
TB4
TB5
Address
0391
16
, 0390
16
0393
16
, 0392
16
0395
16
, 0394
16
0351
16
, 0350
16
0353
16
, 0352
16
0355
16
, 0354
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
AA
AA
A
A
Symbol
TBSR
Address
0340
16
When reset
00
16
Bit name
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
AAAAAAAAAAAAAAA
In an attempt to write to these bits, write “0”. The value, if read, turns
Timer B4 count start flag
Timer B3 count start flag
0 : Stops counting
TB4S
Nothing is assigned.
Function
(Note 3)
(Note 2)