M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 81

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
Timer B
Figure 1.72: Timer B-related registers
Table 1.22:
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request
generation timing
2.22.1 Timer mode
In this mode, the timer counts an internally generated count source. (See Table 1.22 ) Figure 1.73
shows the Timer Bi mode register in timer mode.
Note: Timer B2 does not generate an interrupt; it is used only as a prescaler.
Item
Timer specifications in timer mode
Count start flag
b7
(b15)
f1, f8, f32
•Counts down
•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)
The timer underflows (see Note)
Timer Bi register (Note)
b7
b6
b5
b4
b3
n: Set value
b2
(b8)
b1
b0 b7
b0
• Timer mode
Bit symbol
Counts the timer's period
Note: Read and write data in 16-bit units.
TA0S
TA1S
TA2S
TA3S
TA4S
TB0S
TB1S
TB2S
Symbol
TABSR
1-81
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
Timer B0 count start flag
Timer B1 count start flag
Timer B2 count start flag
b0
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Address
0380
Bit name
Symbol
Function
TB0
TB1
TB2
TB3
TB4
TB5
16
Specification
When reset
0391
0393
0395
0351
0353
0355
00
0 : Stops counting
1 : Starts counting
Address
16
16
16
16
16
16
16
, 0390
, 0392
, 0394
, 0350
, 0352
, 0354
Function
16
16
16
16
16
16
Mitsubishi microcomputers
Values that can be set
0000
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
Indeterminate
When reset
M30240 Group
16
to FFFF
16
R
R
W
W

Related parts for M30240ECFP