English
Language : 

M306V2ME Datasheet, PDF (88/276 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER 
MITSUBISHI MICROCOMPUTERS
M306V2ME-XXXFP
M306V2EEFP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
(3) One-shot timer mode
In this mode, the timer operates only once. (See Table 2.10.3.) When a trigger occurs, the timer starts up
and continues operating for a given period. Figure 2.10.13 shows the timer Ai mode register in one-shot
timer mode.
Table 2.10.3 Timer specifications in one-shot timer mode
Item
Specification
Count source
Count operation
f1, f8, f32, fC32
• The timer counts down
• When the count reaches 000016, the timer stops counting after reloading a new count
• If a trigger occurs when counting, the timer reloads a new count and restarts counting
Divide ratio
1/n n : Set value
Count start condition
• The timer overflows
• The one-shot start flag is set (= 1)
Count stop condition
• A new count is reloaded after the count has reached 000016
• The count start flag is reset (= 0)
Interrupt request generation timing The count reaches 000016
TA2OUT/TA3OUT pin function Programmable I/O port or pulse output
Read from timer
When timer Ai register is read, it indicates an indeterminate value
Write to timer
• When counting stopped
When a value is written to timer Ai register, it is written to both reload register and
counter
• When counting in progress
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
Timer Ai mode register
b7 b6 b5 b4 b3 b2 b1 b0
0 0 10
Symbol
TAiMR(i = 0 to 4)
Address When reset
039616 to 039A16
0016
Bit symbol
TMOD0
TMOD1
MR0
Bit name
Function
Operation mode select bit b1 b0
1 0 : One-shot timer mode
Pulse output function
select bit
(Note 2)
0 : Pulse is not output
(TA2OUT/TA3OUT pin is a normal port pin)
1 : Pulse is output (Note 1)
(TA2OUT/TA3OUT pin is a pulse output pin)
Reserved bits
MR2
Trigger select bit
Must always be set to “0”
0 : Count start flag is valid
1 : Selected by event/trigger select register
MR3
0 (Must always be “0” in one-shot timer mode)
TCK0
TCK1
Count source select bit
b7 b6
0 0 : f1
0 1 : f8
1 0 : f32
1 1 : fC32
Notes 1 : The settings of the corresponding port register and port direction register
are invalid.
2 : This bit of TAiMR (i = 0, 1, 4) must always be set to “0.”
RW
Figure 2.10.13 Timer Ai mode register in one-shot timer mode (i = 0 to 4)
Rev. 1.0
88