M306V0ME-107FP MITSUBISHI [Mitsubishi Electric Semiconductor], M306V0ME-107FP Datasheet - Page 91

no-image

M306V0ME-107FP

Manufacturer Part Number
M306V0ME-107FP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Rev. 1.0
2.10.2 Timer B
Figure 2.10.16 Block diagram of timer B
Figure 2.10.17 Timer Bi mode register (i = 0 to 2)
Figure 2.10.17 shows the block diagram of timer B. Figures 2.10.17 and 2.10.20 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 has three operation modes listed as follows:
TBi
(i = 0 to 2)
• Timer mode: The timer counts an internal count source.
• Event counter mode: The timer counts pulses from an external source or a timer overflow.
• Pulse period/pulse width measuring mode: The timer measures an external signal’s pulse period or
pulse width.
IN
Timer Bi mode register
b7
f
f
Clock source selection
f
f
C32
32
1
8
b6
b5
Polarity switching
and edge pulse
Can be selected in only
event counter mode
b4
b3
TBj overflow
(j = i – 1.
Note, however,
j = 2 when i = 0)
b2
b1
b0
• Timer
• Pulse period/pulse width measurement
• Event counter
Notes 1: Timer B0.
Bit symbol
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
TMOD0
TMOD1
TCK0
TCK1
MR0
MR1
MR2
MR3
Symbol
TBiMR(i = 0 to 2) 039B
2: Timer B1, timer B2.
Count source select bit
Operation mode select bit
Function varies with each operation mode
(Function varies with each operation mode)
Bit name
Address
16
(address 0380
Count start flag
to 039D
Counter reset circuit
16
Timer B0
Timer B1
Timer B2
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period/pulse width
1 1 : Inhibited
b1 b0
16
00?X0000
When reset
)
TBi
measurement mode
Data bus high-order bits
Data bus low-order bits
0391
0393
0395
Reload register (16)
and ON-SCREEN DISPLAY CONTROLLER
2
Function
Low-order 8 bits
Counter (16)
16
16
16
Address
MITSUBISHI MICROCOMPUTERS
0390
0392
0394
M306V0ME-XXXFP
16
16
16
Timer B2
Timer B0
Timer B1
TBj
M306V0EEFP
(Note 1)
(Note 2)
High-order 8 bits
R
W
91

Related parts for M306V0ME-107FP