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

no-image

M30622M4

Manufacturer Part Number
M30622M4
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622M4A-462GP D3
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
M30622M4A-462GP D3
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Timer A
90
Figure 1.17.9. Timer Ai mode register in event counter mode
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
b6
b6
0
b5
0
b5
b4
b4
1
b3
b3
0
b2
b2
0
b1
b1
0 1
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 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: When performing two-phase pulse signal processing, make sure the two-phase pulse
Bit symbol
Bit symbol
TMOD0
TMOD1
TMOD0
TMOD1
TCK0
TCK1
TCK0
TCK1
MR0
MR1
MR2
MR3
MR0
MR1
MR2
MR3
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”.
signal processing operation select bit (address 0384
sure to set the event/trigger select bit (addresses 0382
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
Count polarity
select bit (Note 2)
Up/down switching
cause select bit
Count operation type
select bit
Two-phase pulse signal
processing operation
select bit (Note 4)(Note 5)
Operation mode select bit
Pulse output function
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
Address
Address
16
16
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
b1 b0
0 1 : Event counter mode
0 : Reload type
1 : Free-run type
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)
Function
Function
16
16
) is set to “1”. Also, always be
) is set to “1”. Also, always be
16
16
and 0383
and 0383
16
16
) to “00”.
) to “00”.
Mitsubishi microcomputers
M16C / 62 Group
R
R
W
W

Related parts for M30622M4