M30622 Mitsubishi, M30622 Datasheet - Page 97

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 B
Note 1: M30623(80-pin package) does not have the input pin(TB1
Figure 1.17.18. Timer Bi mode register in event counter mode
Table 1.17.7. Timer specifications in event counter mode
(2) Event counter mode
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing The timer underflows
TBi
Read from timer
Write to timer
In this mode, the timer counts an external signal or an internal timer's overflow. (See Table 1.17.7.)
Figure 1.17.18 shows the timer Bi mode register in event counter mode.
IN
Tentative Specifications REV.A
pin function
S
Item
pecifications in this manual are tentative and subject to change.
Timer Bi mode register
b7
b6
b5
b4
b3
b2
b1
0 1
• External signals input to TBi
• Effective edge of count source can be a rising edge, a falling edge, or falling
• Counts down
• When the timer underflows, it reloads the reload register contents before
1/(n+1)
Count start flag is set (= 1)
Count start flag is reset (= 0)
Count source input
Count value can be read out by reading timer Bi register
• When counting stopped
• When counting in progress
and rising edges as selected by software
continuing counting
When a value is written to timer Bi register, it is written to both reload register and counter
When a value is written to timer Bi register, it is written to only reload register
(Transferred to counter at next reload time)
b0
Note 1: Valid only when input from the TBi
Note 2: Timer B0, timer B3.
Note 3: Timer B1, timer B2, timer B4, timer B5.
Note 4: Set the corresponding port direction register to “0”.
Bit symbol
TMOD0
TMOD1
TCK0
TCK1
MR0
MR1
MR2
MR3
Symbol
TBiMR(i=0 to 5)
If timer's overflow is selected, this bit can be “0” or “1”.
In timer B1 mode register of M30623(80-pin package), this bit is invalid.
In M30623(80-pin package), do not use the input from TB1
because there is no TB1
Operation mode select bit
Invalid in event counter mode.
In an attempt to write to this bit, write “0”. The value, if read in
event counter mode, turns out to be indeterminate.
Event clock select
Count polarity select
bit
0 (Fixed to “0” in event counter mode; i = 0, 3)
Nothing is assigned (i = 1, 2, 4, 5).
In an attempt to write to this bit, write “0”. The value, if read,
turns out to be indeterminate.
Invalid in event counter mode.
Can be “0” or “1”.
n : Set value
(Note 1)
Bit name
039B
035B
97
Address
16
16
to 039D
to 035D
IN
pin.
Specification
IN
16
16
pin
IN
0 1 : Event counter mode
b3 b2
0 0 : Counts external signal's
0 1 : Counts external signal's
1 0 : Counts external signal's
1 1 : Inhibited
0 : Input from TBi
1 : TBj overflow
b1 b0
pin is selected as the event clock.
When reset
00XX0000
00XX0000
IN
(j = i – 1; however, j = 2 when i = 0,
falling edges
rising edges
falling and rising edges
) of timer B1.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2
2
Function
IN
pin (Note 4)
j = 5 when i = 3)
IN
pin as event clock,
Mitsubishi microcomputers
M16C / 62T Group
(Note 2)
(Note 3)
R
W

Related parts for M30622