參數(shù)資料
型號: M30240S6
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機
文件頁數(shù): 73/142頁
文件大?。?/td> 1637K
代理商: M30240S6
1-73
Mitsubishi microcomputers
M30240 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Timer A
2.21.2 Event counter mode
In this mode, the timer counts an external signal or an internal timer’s overflow. Timers A0 and A1 can
count a single-phase external signal. Timers A2, A3, and A4 can count a single-phase and a two-phase
external signal. Table 1.18 lists the timer specifications when counting a single-phase external signal.
Figure 1.64 shows Timer Ai mode register in event counter mode, single-phase signal.
Table 1.18:
Timer specification in event counter mode (when not processing two-phase pulse signal)
Item
Specification
Count source
External signals input to TAiIN pin (effective edge can be selected by software
TB2 overflow, TAj overflow
Count operation
Up count or down count can be selected by external signal or software
When the timer overflows or underflows, it loads from the reload register contents before
continuing counting. (However, this does not apply when the free-run function is selected.)
Divide ratio
1/ (FFFF
16
- n+1) for up count
1/ (n + 1) for down count n: set value
Count start flag is set (=1)
Count start condition
Count stop condition
Count start flag is reset (=0)
Interrupt request
generation timing
Timer overflows or underflows
TAiIN pin function
Programmable I/O port or count source input
TAiOUT pin function
Programmable I/O port, pulse output, or up/down count select input
Read from timer
Count value can be read out by reading timer Ai register
Write to timer
When counting is stopped and a value is written to timer Ai register, it is written to both
reload register and counter
When counting is in progress and a value is written to timer Ai register, it is written to only
reload register
Select function
Free-run count function
When the timer overflows or underflows, the reload register content is not reloaded.
Pulse output function
Each time the timer overflows, the TAiOUT pin‘s polarity is reversed
相關PDF資料
PDF描述
M30240S7 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S8 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S9 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240SA SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240SA-XXXFP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M30240S6-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S7 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S7-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240S8-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER