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

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 B
96
Figure 1.17.17. Timer Bi mode register in timer mode
Table 1.17.6. Timer specifications in timer mode
(1) Timer mode
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request generation timing
TBi
Read from timer
Write to timer
In this mode, the timer counts an internally generated count source. (See Table 1.17.6.) Figure 1.17.17
shows the timer Bi mode register in timer mode.
IN
Timer Bi mode register
b7
pin function
b6
Item
b5
b4
b3
b2
b1
0
b0
0
Note 1: Timer B0, timer B3.
Note 2: Timer B1, timer B2, timer B4, timer B5.
f
• 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)
The timer underflows
Programmable I/O port
Count value is read out by reading timer Bi register
• When counting stopped
• When counting in progress
Bit symbol
1
TMOD0
TMOD1
, f
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)
TCK0
TCK1
MR0
MR1
MR2
MR3
Symbol
TBiMR(i=0 to 5)
8
, f
32
, f
n : Set value
C32
Nothing is assiigned (i = 1, 2, 4, 5).
In an attempt to write to this bit, write “0”. The value, if read, turns out
to be indeterminate.
Operation mode select bit
Invalid in timer mode
Can be “0” or “1”
Invalid in timer mode.
In an attempt to write to this bit, write “0”. The value, if read in
timer mode, turns out to be indeterminate.
0 (Fixed to “0” in timer mode ; i = 0, 3)
Count source select bit
Bit name
039B
035B
Address
16
16
to 039D
to 035D
Specification
16
16
0 0 : f
0 1 : f
1 0 : f
1 1 : f
0 0 : Timer mode
b7 b6
b1 b0
When reset
00XX0000
00XX0000
1
8
32
C32
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Function
2
2
Mitsubishi microcomputers
M16C / 62 Group
(Note 2)
(Note 1)
R
W

Related parts for M30622M4