M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 80

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Specifications in this manual are tentative and subject to change
Timer B
2.22 Timer B
Figure 1.70: Block diagram of Timer B
Figure 1.71: Timer B-related registers
Figure 1.70 shows the block diagram of timer B. Figure 1.71 and Figure 1.72 show the timer B-related
registers. Use the timer Bi mode register (i = 0 to 2) bits 0 and 1 to choose the desired mode. Timer B
works in Timer mode only (i.e., the timer counts an in internal count source).
Timer Bi mode register
b7
f
Clock source selection
f
f
32
1
8
b6
b5
TBj overflow
(j=i - 1. Note, however,
j = 2 when i = 0)
b4
b3
b2
b1
0
b0
0
Note 1: Timer B0.
Note 2: Timer B1, Timer B2.
Bit symbol
TMOD0
TMOD1
TCK0
TCK1
MR0
MR1
MR2
MR3
Symbol
TBiMR(i=0 to 2)
Operation mode select bit
Invalid in timer mode
Can be “0” or “1”
0 (Fixed to “0” in timer mode ; i = 0)
Nothing is assiigned (i = 1, 2).
This bit can neither be set nor reset. When read, its content is indeterminate.
Invalid in timer mode.
This bit can neither be set nor reset. When read in timer mode,
its content is indeterminate.
Count source select bit
039B
Bit name
Timer B0
Timer B1
Timer B2
1-80
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Address
16
TBi
(address 0380
Count start flag
to 039D
Counter reset circuit
16
b1 b0
0 0 : Timer mode
b7 b6
0 0 : f
0 1 : f
1 0 : f
1 1 : Reserved
16
0391
0393
0395
)
When reset
00XX0000
1
8
32
Address
16
16
16
Data bus high-order bits
Data bus low-order bits
Reload register (16)
0390
0392
0394
Function
Low-order 8 bits
2
Counter (16)
16
16
16
Mitsubishi microcomputers
M30240 Group
Timer B2
Timer B0
Timer B1
TBj
(Note 1)
(Note 2)
High-order 8 bits
R
W

Related parts for M30240ECFP