M30622ECTFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622ECTFP Datasheet - Page 90

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Timer A
Figure 1.17.9. Timer Ai mode register in event counter mode
Tentative Specifications REV.A
Timer Ai mode register
(When not using two-phase pulse signal processing)
Timer Ai mode register
(When using two-phase pulse signal processing)
b7
b7
S
b6
b6
pecifications in this manual are tentative and subject to change.
b5
0
b5
0
b4
b4
1
b3
b3
0
b2
b2
0
b1
0 1
b1
0 1
b0
b0
Note 1: This bit is valid for timer A3 mode register.
Note 2: When performing two-phase pulse signal processing, make sure the two-phase pulse
Note 3: In M30623(80-pin package), do not use timer A2 for the two-phase pulse signal processing.
Note 1: The settings of the corresponding port register and port direction register are invalid.
Note 2: This bit is valid when only counting an external signal.
Note 3: Set the corresponding port direction register to “0”.
Note 4: This bit is valid for the timer A3 mode register.
Note 5: Set these bits to “0”, in timer A2 mode register of M30623(80-pin package).
Bit symbol
Bit symbol
TMOD0
TMOD1
TMOD0
TMOD1
TCK0
TCK1
TCK0
TCK1
MR0
MR1
MR2
MR3
MR0
MR1
MR2
MR3
For timer A2 and A4 mode registers, this bit can be “0” or “1”.
signal processing operation select bit (address 0384
sure to set the event/trigger select bit (addresses 0382
Symbol
TAiMR(i = 2 to 4) 0398
Symbol
TAiMR(i = 2 to 4) 0398
For timer A2 and A4 mode registers, this bit can be “0 ”or “1”.
Up/down switching cause
select bit (Note 5)
Count operation type
select bit
Two-phase pulse signal
processing operation
select bit (Note 4)
Operation mode select bit
Pulse output function
select bit (Note 5)
Count polarity select bit
0 : (Must always be “0” in event counter mode)
Operation mode select bit
Two-phase pulse
processing operation
select bit (Note 1)(Note 2)
0 (Must always be “0” when using two-phase pulse signal
processing)
0 (Must always be “0” when using two-phase pulse signal
processing)
1 (Must always be “1” when using two-phase pulse signal
processing)
0 (Must always be “0” when using two-phase pulse signal
processing)
Count operation type
select bit
Bit name
Bit name
(Note 2,Note 5)
Address
Address
16
16
90
to 039A
to 039A
16
16
When reset
When reset
0 1 : Event counter mode
0 : Pulse is not output
1 : Pulse is output (Note 1)
0 : Counts external signal's falling edges
1 : Counts external signal's rising edges
0 : Up/down flag's content
1 : TA
0 : Reload type
1 : Free-run type
0 : Normal processing operation
1 : Multiply-by-4 processing operation
b1 b0
0 : Reload type
1 : Free-run type
b1 b0
0 1 : Event counter mode
0 : Normal processing operation
1 : Multiply-by-4 processing operation
(TAi
(TAi
00
00
16
16
iOUT
OUT
OUT
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
pin's input signal (Note 3)
pin is a normal port pin)
pin is a pulse output pin)
16
Function
Function
) is set to “1”. Also, always be
16
and 0383
Mitsubishi microcomputers
16
) to “00”.
M16C / 62T Group
R
R
W
W

Related parts for M30622ECTFP