M306V5EESP Mitsubishi, M306V5EESP Datasheet - Page 78

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
78
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
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 n / fi
• 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)
PWM pulse goes “L”
When timer Ai register is read, it indicates an indeterminate value
• When counting stopped
• When counting in progress
1
, f
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
b0
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
, f
Bit symbol
TMOD0
TMOD1
Reserved bits
32
TCK0
TCK1
MR2
MR0
MR3
TAiMR(i=2 and 3)
Symbol
Operation mode
select bit
1 (Must always be “1” in PWM mode)
16/8-bit PWM mode
select bit
Count source select bit
Trigger select bit
(2
(2
16
8
Bit name
-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
Address
16
and 0399
Specification
0: Count start flag is valid
1: Selected by event/trigger select register
b1 b0
1 1 : PWM mode
0: Functions as a 16-bit pulse width modulator
1: Functions as an 8-bit pulse width modulator
b7 b6
0 0 : f
0 1 : f
1 0 : f
1 1 : Do not set
Must always be set to “0”
16
1
8
32
When reset
m : values set to timer Ai register’s low-order address
00
16
and ON-SCREEN DISPLAY CONTROLLER
Function
MITSUBISHI MICROCOMPUTERS
M306V5ME-XXXSP
M306V5EESP
R
W
Rev. 1.0

Related parts for M306V5EESP