M30621ECGP MITSUBISHI [Mitsubishi Electric Semiconductor], M30621ECGP Datasheet - Page 82

no-image

M30621ECGP

Manufacturer Part Number
M30621ECGP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Timer B
82
Note: Timer B1 works exclusively as an internal timer since timer B1 does not have input port (TB1
Figure 1.13.17. Timer Bi mode register in timer mode
Table 1.13.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.13.6.) Figure 1.13.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
039B
035B
name
Bit
Address
16
16
to 039D
to 035D
Specification
16
16
0 0 : f
0 1 : f
1 0 : f
1 1 : f
b1 b0
b7 b6
0 0 : Timer mode
When reset
00XX0000
00XX0000
1
8
32
C32
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Function
2
2
M16C / 62 Group (80-pin)
Mitsubishi microcomputers
(Note 2)
(Note 1)
R
W
IN
).

Related parts for M30621ECGP