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

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Specifications in this manual are tentative and subject to change
Timer A
Figure 1.64: Timer Ai mode register in event counter mode, single signal
Table 1.19 shows the Timer specification in event counter mode when processing two-phase signal with timers
A2, A3, and A4.
Figure 1.65 shows Timer Ai mode register in event counter mode when processing two-phase signal.
Timer Ai mode register
b7
b6
b5
0
b4
b3
b2
b1
0 1
b0
Note 1: In event counter mode, the count source is selected by the event / trigger select bit
Note 2: The settings of the corresponding port register and port direction register are invalid.
Note 3: Valid only when counting an external signal.
Note 4: When an “L” signal is input to the TAi
Note 5: This value can be indeterminate when the count starts.
Bit symbol
TMOD0
TMOD1
MR0
TCK0
TCK1
MR1
MR2
MR3
(addresses 0382
the upcount is activated. Set the corresponding port direction register to “0”.
Symbol
TAiMR(i = 0, 1)
Operation mode select bit
Pulse output function
select bit
Count polarity
select bit (Note 3)
Up/down switching
cause select bit
0 (Must always be fixed to “0” in event counter mode)
Count operation type
select bit
Invalid in event counter mode
Can be “0” or “1”
Bit name
16
and 0383
1-74
0396
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Address
16
, 0397
16
).
16
b1 b0
0 1 : Event counter mode (Note 1)
0 : Pulse is not output
1 : Pulse is output (Note 2)
0 : Counts external signal's falling edge
1 : Counts external signal's rising edge
0 : Up/down flag's content
1 : TA
0 : Reload type
1 : Free-run type (Note 5)
(TA
(TA
When reset
iOUT
OUT
iOUT
iOUT
00
pin's input signal (Note 4)
pin, the downcount is activated. When “H”,
pin is a normal port pin)
pin is a pulse output pin)
16
Function
Mitsubishi microcomputers
M30240 Group
R W
R
W

Related parts for M30240ECFP