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

no-image

M30622ECTFP

Manufacturer Part Number
M30622ECTFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Timer B
Table 1.17.6. Timer specifications in timer mode
Note 1: M30623(80-pin package) does not have the input pin(TB1
Figure 1.17.17. Timer Bi mode register 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
Tentative Specifications REV.A
pin function
b6
S
Item
b5
pecifications in this manual are tentative and subject to change.
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”
0 (Fixed to “0” in timer mode ; i = 0, 3)
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.
Count source select bit
Bit name
039B
035B
Specification
Address
16
16
96
to 039D
to 035D
16
16
0 0 : Timer mode
0 0 : f
0 1 : f
1 0 : f
1 1 : f
b7 b6
b1 b0
When reset
00XX0000
00XX0000
IN
1
8
32
C32
) of timer B1.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Function
2
2
Mitsubishi microcomputers
M16C / 62T Group
(Note 2)
(Note 1)
R
W

Related parts for M30622ECTFP