M30622 Mitsubishi, M30622 Datasheet - Page 87

no-image

M30622

Manufacturer Part Number
M30622
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622-109GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622ECFP
Manufacturer:
INFINEON
Quantity:
607
Part Number:
M30622ECFP
Manufacturer:
ST
0
Part Number:
M30622EECFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PA04GP
Manufacturer:
MIT
Quantity:
105
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622F8PFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PFP#D5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U3C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFPD5
Manufacturer:
RENESAS
Quantity:
893
Part Number:
M30622F8PFPU3C
Manufacturer:
RENESAS
Quantity:
5 002
Part Number:
M30622F8PFPU5U
Manufacturer:
STM
Quantity:
4 667
Part Number:
M30622F8PGP
Manufacturer:
MIT
Quantity:
20 000
Timer A
Table 1.17.1. Specifications of timer mode
Note 1: M30623(80-pin package) does not have I/O pins(TAi
Figure 1.17.7. Timer Ai mode register in timer mode
(1) Timer mode
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing
TAi
TAi
Read from timer
Write to timer
Select function
In this mode, the timer counts an internally generated count source. (See Table 1.17.1.) Figure 1.17.7
shows the timer Ai mode register in timer mode.
IN
OUT
Tentative Specifications REV.A
pin function
pin function
S
Item
pecifications in this manual are tentative and subject to change.
Timer Ai mode register
b7
b6
b5
0
b4
b3
b2
f
• Down count
• When the timer underflows, it reloads the reload register contents before continuing counting
1/(n+1)
Count start flag is set (= 1)
Count start flag is reset (= 0)
When the timer underflows
Programmable I/O port or gate input
Programmable I/O port or pulse output
Count value can be read out by reading timer Ai register
• When counting stopped
• When counting in progress
• Gate function
• Pulse output function
0 0
b1
1
, f
When a value is written to timer Ai register, it is written to both reload register and counter
When a value is written to timer Ai register, it is written to only reload register
(Transferred to counter at next reload time)
Counting can be started and stopped by the TAi
Each time the timer underflows, the TAi
b0
8
, f
Note 1: The settings of the corresponding port register and port direction register
Note 2: The bit can be “0” or “1”.
Note 3: Set the corresponding port direction register to “0”.
Note 4: In timer A1 and A2 mode register of M30623(80-pin package), set these
Bit symbol
32
TMOD0
TMOD1
TCK0
TCK1
MR0
MR1
MR2
MR3
, f
Symbol
TAiMR(i=0 to 4)
C32
n : Set value
are invalid.
bits to “0”.
Operation mode
select bit
Pulse output function
select bit
Gate function select bit
0 (Must always be fixed to “0” in timer mode)
Count source select bit
0396
Bit name
87
Address
16
to 039A
(Note 4)
(Note 4)
Specification
IN
16
,TAi
When reset
0 0 : Timer mode
0 : Pulse is not output
b4 b3
b7 b6
1 : Pulse is output (Note 1)
0 X
1 0 : Timer counts only when TA
1 1 : Timer counts only when TA
0 0 : f
0 1 : f
1 0 : f
1 1 : f
b1 b0
00
(TA
OUT
(TA
(Note 2)
held “L” (Note 3)
held “H” (Note 3)
16
1
8
32
C32
iOUT
iOUT
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
OUT
) for timer A1 and A2.
: Gate function not available
pin is a normal port pin)
pin is a pulse output pin)
(TAi
pin’s polarity is reversed
Function
IN
pin is a normal port pin)
IN
pin’s input signal
Mitsubishi microcomputers
iIN
iIN
M16C / 62T Group
pin is
pin is
R
W

Related parts for M30622