M306V5EESP Mitsubishi, M306V5EESP Datasheet - Page 70

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
70
2.10.1 Timer A
Figure 2.10.3 Block diagram of timer A
Figure 2.10.4 Timer Ai mode register (i = 0 to 4)
Figure 2.10.3 shows the block diagram of timer A. Figures 2.10.4 to 2.10.10 show the timer A-related
registers.
Except the pulse output function, timers A0 through A4 all have the same function. Use the timer Ai mode
register (i = 0 to 4) bits 0 and 1 to choose the desired mode.
Timer A has the four operation modes listed as follows:
• Timer mode: The timer counts an internal count source.
• Event counter mode: The timer counts a timer over flow.
• One-shot timer mode: The timer stops counting when the count reaches “0000
• Pulse width modulation (PWM) mode: The timer outputs pulses of a given width.
TB2 overflow
TAj overflow
(j = i – 1. Note, however, that j = 4 when i = 0)
TAk overflow
(k = i + 1. Note, however, that k = 0 when i = 4)
TAi
(i = 2, 3)
f
f
f
1
8
32
OUT
Clock source
selection
Timer Ai mode register
b7
b6
b5
Pulse output
b4
b3
b2
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
• Timer
• One shot
• PWM
Clock selection
b1
b0
Bit symbol
TMOD0
TMOD1
MR0
MR1
MR2
MR3
TCK0
TCK1
External
trigger
Symbol
TAiMR(i=0 to 4)
Count source select bit
Operation mode select bit
Function varies with each operation mode
(Address 0384
(Function varies with each operation mode)
Up/down flag
Count start flag
(Address 0380
Down count
Toggle flip-flop
Bit name
0396
Address
16
16
to 039A
)
16
Data bus high-order bits
)
Data bus low-order bits
16
Reload register (16)
When reset
Low-order
8 bits
b1 b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : One-shot timer mode
1 1 : Pulse width modulation
Counter (16)
00
and ON-SCREEN DISPLAY CONTROLLER
Timer A0 0387
Timer A1 0389
Timer A2 038B
Timer A3 038D
Timer A4 038F
(PWM) mode
16
TAi
Up count/down count
MITSUBISHI MICROCOMPUTERS
Always down count except
in event counter mode
Function
M306V5ME-XXXSP
Addresses
16
16
16
16
16
High-order
8 bits
0386
0388
038A
038C
038E
16
16
16
16
16
16
”.
M306V5EESP
Timer A4
Timer A0
Timer A1
Timer A2
Timer A3
TAj
R
W
Timer A1
Timer A2
Timer A3
Timer A4
Timer A0
TAk
Rev. 1.0

Related parts for M306V5EESP