English
Language : 

M30222 Datasheet, PDF (87/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
deUvnedloepr ment
MITSUBISHI MICROCOMPUTERS
Specifications in this manual are tentative and subject to change
M30222 Group
Rev. G
Timer B
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer Bi mode register
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
TBiMR(i=0 to 5)
Address
039B16 to 039D16
035B16 to 035D16
When reset
00XX00002
00XX00002
Bit symbol
TMOD0
TMOD1
MR0
MR1
Bit name
Operation mode select bit
Invalid in timer mode
Can be “0” or “1”
Function
b1 b0
0 0 : Timer mode
RW
MR2
0 (Fixed to “0” in timer mode ; i = 0, 3)
(Note 1)
Nothing is assigned (i=1, 2, 4, 5)
Write "0" when writing to this bit. If read, the value is indeterminate. (Note 2)
MR3
Invalid in timer mode.
Write "0" when writing to this bit. If read in timer mode,
the value is indeterminate.
TCK0
TCK1
Count source select bit
b7 b6
0 0 : f1
0 1 : f8
1 0 : f32
1 1 : fC32
Note 1: Timer B0, Timer B3.
Note 2: Timer B1, Timer B2, Timer B4, Timer B5.
Fig. 1.64. Timer Bi mode register in timer mode
(2) Event counter mode
In this mode, the timer counts an external signal or an internal timer's overflow. (See Table 1.31).
Figure 1.65. shows the Timer Bi mode register in event counter mode.
Usage Precaution
Reading the Timer Bi register while a count is in progress allows reading , with arbitrary timing, the value of
the counter. Reading the Timer Bi register with the reload timing gets “FFFF16”. Reading the Timer Bi
register after setting a value in the Timer Bi register with a count halted but before the counter starts counting
gets a proper value
1-88