M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 75

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Timer A
Table 1.19:
Count Source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request
generation timing
TAi
TAi
Read from timer
Writer to timer
Select function
IN
OUT
pin function
pin function
Note 1
Item
Timer specification in even counter mode (when processing two-phase pulse signal with
timers A2, A3, and A4)
•Two-phase pulse signals input to TAiIN or TAiOUT pin
•Up count or down count can be selected by two-phase pulse signal
•When the timer overflows or underflows, the reload register content is loaded and the timer
starts over again (Note 1)
1/ (FFFF
1/ (n+1) for down count
Count start flag is set (=1)
Count start flag is reset (=0)
Timer overflow or underflows
Two-phase pulse input
Two-phase pulse input
Count value can be read out by reading timer A2, A3, or A4 register
•When counting is stopped and a value is written to timer A2, A3, or A4 register, it is written
to both the reload register and counter
•When counting is in progress and a value is written to timer A2, A3, or A4 register, it is
written to only reload register to be transferred to counter at the next reload time.
•Normal processing operation
The timer counts up rising edges or counts down falling edges on the TAi
signal on the TAi
•Multiply-by-4 processing operation
If the phase relationship is such that the
TAi
If the phase relationship is such that the T
TAi
pins.
This does not apply when the free-run function is selected.
TAi
TAi
TAi
OUT
OUT
T
Ai
(i=2,3)
OUT
IN
OUT
(i=3,4)
IN
pin is “H”, the timer counts up rising and falling edges on the
pin is “H”, the timer counts down rising and falling edges on the
16
- n + 1) for up count
Up
count
Count up all edges
OUT
Count up all edges
pin is “H”
1-75
Up
count
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
n: Set value
Up
count
Specification
TAi
Ai
IN
IN
pin goes “L” when the input signal on the
pin goes “H” when the input signal on the
Down
count
Count down all edges
Count down all edges
Mitsubishi microcomputers
Down
count
M30240 Group
TAi
Down
count
OUT a
TAi
IN
OUT
pin when input
nd T
and T
Ai
IN
Ai
pins.
IN

Related parts for M30240ECFP