參數(shù)資料
型號: M30240M4-XXXFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, MROM, MICROCONTROLLER, PQFP80
封裝: 0.80 MM PITCH, PLASTIC, QFP-80
文件頁數(shù): 89/125頁
文件大?。?/td> 753K
代理商: M30240M4-XXXFP
CONFIDENTIAL
68
Mitsubishi microcomputers
M16C / 24 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change
Timer A
(1) Timer mode
In this mode, the timer counts an internally generated count source. See Table 16 below. Figure 63
shows the timer Ai mode register in timer mode.
Figure 63:
Timer Ai mode register in timer mode
Table 16:
Specications of timer mode
Item
Specication
Count source
f1, f8, f32
Count operation
Down count
When the timer underows, it reloads the reload register contents before continuing counting
Divide ratio
1/(n+1) n : Set value
Count start condition
Count start ag is set (= 1)
Count stop condition
Count start ag is reset (= 0)
Interrupt request
generation timing
When the timer underows
TAiIN pin function
Programmable I/O port or gate input
TAiOUT pin function
Programmable I/O port or pulse output
Read from timer
Count value can be read out by reading timer Ai register
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 only to reload register (transferred to counter at next reload time)
Select function
Gate function
Counting can be started and stopped by TAiIN pin’s input signal
Pulse output funtion
Each time the timer underows, the TAiOUT pin’s polarity is reversed.
Note 1: The settings of the corresponding port register and port direction register
are invalid.
Note 2: The bit can be “0” or “1”.
Note 3: Set the corresponding port direction register to “0”.
Timer Ai mode register
Symbol
Address
When reset
TAiMR(i=0 to 4)
039616 to 039A16
0016
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
Operation mode
select bit
0 0 : Timer mode
b1 b0
TMOD1
TMOD0
MR0
Pulse output function
select bit
0 : Pulse is not output
(TAiOUT pin is a normal port pin)
1 : Pulse is output (Note 1)
(TAiOUT pin is a pulse output pin)
Gate function select bit
0 X (Note 2): Gate function not available
(TAiIN pin is a normal port pin)
1 0 : Timer counts only when TA iIN pin is
held “L” (Note 3)
1 1 : Timer counts only when TA iIN pin is
held “H” (Note 3)
b4 b3
MR2
MR1
MR3
0 (Must always be fixed to “0” in timer mode)
0 0 : f1
0 1 : f8
1 0 : f32
1 1 : fC32
b7 b6
TCK1
TCK0
Count source select bit
00
0
相關PDF資料
PDF描述
M30240M1-XXXFP 16-BIT, MROM, MICROCONTROLLER, PQFP80
M30245MC-XXXGP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M30245FCGP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
M30260F3VGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP48
M30260M3A-XXXGP-U5 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP48
相關代理商/技術參數(shù)
參數(shù)描述
M30240M5 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M5-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M6 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M6-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M7 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER