M306V0ME Mitsubishi, M306V0ME Datasheet - Page 89

no-image

M306V0ME

Manufacturer Part Number
M306V0ME
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet
Rev. 1.0
Table 2.10.4 Timer specifications in pulse width modulation mode
Figure 2.10.14 Timer Ai mode register in pulse width modulation mode (i = 2 and 3)
(4) Pulse width modulation (PWM) mode
Count source
Count operation
16-bit PWM •
8-bit PWM
Count start condition
Count stop condition
Interrupt request generation timing PWM pulse goes “L”
TA2
Read from timer
Write to timer
In this mode, the timer outputs pulses of a given width in succession. (See Table 2.10.4.) In this mode, the
counter functions as either a 16-bit pulse width modulator or an 8-bit pulse width modulator. Figure 2.10.14
shows the timer Ai mode register in pulse width modulation mode. Figure 2.10.15 shows the example of how
an 8-bit pulse width modulator operates.
OUT
/TA3
Item
OUT
Timer Ai mode register
b7
b6
pin function Pulse output
b5
b4
b3
0
b2
1
b1
1 1
f
• The timer counts down (operating as an 8-bit or a 16-bit pulse width modulator)
• The timer reloads a new count at a rising edge of PWM pulse and continues counting
• The timer is not affected by a trigger that occurs when counting
High level width
• Cycle time
• High level width n
• Cycle time
• The timer overflows
• The count start flag is set (= 1)
• The count start flag is reset (= 0)
When timer Ai register is read, it indicates an indeterminate value
• When counting stopped
• When counting in progress
b0
1
, f
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
When a value is written to timer Ai register, it is written to both reload register and
counter
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
8
Bit symbol
, f
TMOD0
TMOD1
Reserved bits
TCK0
TCK1
MR2
MR0
MR3
32
, f
TAiMR(i=2 and 3)
C32
Symbol
1 (Must always be set to “1” in PWM mode)
Operation mode
select bit
16/8-bit PWM mode
select bit
Count source select bit
Trigger select bit
n / fi
(2
(2
Bit name
8
16
-1)
-1) / fi fixed
(m+1) / fi n : values set to timer Ai register’s high-order address
0398
n : Set value
(m+1) / fi m : values set to timer Ai register’s low-order address
Address
16
and 0399
Specification
1 1 : PWM mode
0: Count start flag is valid
1: Selected by event/trigger select register
0: Functions as a 16-bit pulse width modulator
1: Functions as an 8-bit pulse width modulator
0 0 : f
0 1 : f
1 0 : f
1 1 : f
b1 b0
b7 b6
Must always be set to “0”
16
1
8
32
C32
When reset
00
16
Function
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M306V0ME-XXXFP
M306V0EEFP
R
W
89

Related parts for M306V0ME