M306V5EESP Mitsubishi, M306V5EESP Datasheet - Page 80

no-image

M306V5EESP

Manufacturer Part Number
M306V5EESP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet
80
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:
• 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.
TB0
Timer Bi mode register
b7
IN
f
Clock source selection
f
f
32
1
8
b6
b5
b4
Polarity switching
and edge pulse
Can be selected in only
event counter mode
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
(address 0380
Count start flag
16
Counter reset circuit
to 039D
16
Timer B0
Timer B1
Timer B2
16
)
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period/pulse width
1 1 : Inhibited
TBi
b1 b0
00?X0000
When reset
measurement mode
Data bus high-order bits
Data bus low-order bits
0391
0393
0395
Reload register (16)
Low-order 8 bits
and ON-SCREEN DISPLAY CONTROLLER
Counter (16)
2
Function
Address
16
16
16
0390
0392
0394
MITSUBISHI MICROCOMPUTERS
16
16
16
M306V5ME-XXXSP
Timer B2
Timer B0
Timer B1
TBj
High-order 8 bits
M306V5EESP
(Note 1)
(Note 2)
R
W
Rev. 1.0

Related parts for M306V5EESP