參數(shù)資料
型號: M38B47EAH-XXXXFP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 57/78頁
文件大?。?/td> 1214K
代理商: M38B47EAH-XXXXFP
57
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Fig. 65 Structure of watchdog timer control register
“0”, the underflow signal of watchdog timer L becomes the count
source. The detection time is set then to f(X
IN
) = 2.1 s at 4 MHz
frequency and f(X
CIN
) = 512 s at 32 kHz frequency.
When this bit is set to “1”, the count source becomes the signal
divided by 8 for f(X
IN
) (or divided by 16 for f(X
CIN
)). The detection
time in this case is set to f(X
IN
) = 8.2 ms at 4 MHz frequency and
f(X
CIN
) = 2 s at 32 KHz frequency. This bit is cleared to “0” after
resetting.
G
Operation of STP instruction disable bit
Bit 6 of the watchdog timer control register (address 002B
16
) permits
disabling the STP instruction when the watchdog timer is in opera-
tion.
When this bit is “0”, the STP instruction is enabled.
When this bit is “1”, the STP instruction is disabled.
Once the STP instruction is executed, an internal resetting occurs.
When this bit is set to “1”, it cannot be rewritten to “0” by program.
This bit is cleared to “0” after resetting.
I
Note
When releasing the stop mode, the watchdog timer performs its count
operation even in the stop release waiting time. Be careful not to
cause the watchdog timer H to underflow in the stop release waiting
time, for example, by writing data in the watchdog timer control reg-
ister (address 002B
16
) before executing the STP instruction.
Fig. 64 Block diagram of watchdog timer
WATCHDOG TIMER
The watchdog timer gives a mean of returning to the reset status
when a program cannot run on a normal loop (for example, because
of a software runaway). The watchdog timer consists of an 8-bit watch-
dog timer L and a 12-bit watchdog timer H.
Standard Operation Of Watchdog Timer
When any data is not written into the watchdog timer control register
(address 002B
16
) after resetting, the watchdog timer is in the stop
state. The watchdog timer starts to count down by writing an optional
value into the watchdog timer control register (address 002B
16
) and
an internal reset occurs at an underflow of the watchdog timer H.
Accordingly, programming is usually performed so that writing to the
watchdog timer control register (address 002B
16
) may be started
before an underflow. When the watchdog timer control register
(address 002B
16
) is read, the values of the high-order 6 bits of the
watchdog timer H, STP instruction disable bit, and watchdog timer H
count source selection bit are read.
G
Initial value of watchdog timer
At reset or writing to the watchdog timer control register (address
002B
16
), a watchdog timer H is set to “FFF
16
” and a watchdog timer
L to “FF
16
”.
G
Watchdog timer H count source selection bit operation
Bit 7 of the watchdog timer control register (address 002B
16
) permits
selecting a watchdog timer H count source. When this bit is set to
X
I
N
D
a
t
a
b
u
“F
w
t
i
r
e
t
o
s
X
C
I
N
“1
“0
In
s
(
N
t
e
l
e
o
r
n
c
t
e
a
t
i
)
l
n
s
y
b
s
i
t
t
e
m
c
l
o
c
k
e
o
“0
“1
1
/
8
W
s
a
u
t
r
c
c
h
e
d
o
s
g
e
e
t
i
c
m
t
e
i
o
r
n
H
b
i
c
t
o
u
n
t
o
l
R
c
e
r
s
c
e
u
t
t
i
i
S
T
P
i
n
s
t
r
u
c
S
t
i
o
T
n
P
d
i
i
s
s
a
t
b
r
u
l
e
c
i
b
o
i
n
t
W
a
t
c
h
d
o
g
t
i
m
e
r
H
(
1
2
)
F
h
m
g
.
F
1
e
n
e
r
i
s
6
w
c
t
e
a
n
i
i
s
t
c
t
r
s
s
h
o
w
e
d
l
r
t
o
g
o
r
i
t
t
e
n
In
t
e
r
n
a
l
r
e
s
e
t
R
E
S
E
T
W
a
t
c
h
d
o
g
t
i
m
e
r
L
(
8
)
N
o
t
e
:
E
i
t
h
e
r
h
i
g
h
-
s
p
e
e
d
,
m
i
d
d
l
e
-
s
p
e
e
d
o
r
l
o
w
-
s
p
e
e
d
m
o
d
e
i
s
s
e
l
e
c
t
e
d
b
y
b
i
t
7
o
f
C
P
U
m
o
d
e
r
e
g
i
s
t
e
r
.
n
t
“F
w
c
w
F
1
a
t
o
n
r
i
6
h
r
o
e
d
l
n
i
s
o
r
t
g
e
o
s
e
t
g
.
t
m
s
w
e
t
e
h
r
r
e
i
n
c
t
t
i
i
s
t
1
/
2
b
0
S
0
1
T
:
:
P
S
S
i
n
P
P
s
t
n
i
n
r
u
s
s
c
t
t
t
u
r
u
i
o
c
c
n
t
t
o
i
o
d
n
n
i
s
a
e
d
b
n
i
s
l
e
b
a
b
l
e
l
i
d
e
t
T
T
i
r
i
a
b
d
W
0
1
a
W
:
f
t
c
h
a
X
I
d
t
c
N
)
o
h
/
g
d
8
o
o
t
i
g
r
m
e
t
i
f
(
r
H
e
I
c
L
o
/
1
u
u
6
n
n
t
d
s
e
o
r
u
f
l
r
c
w
e
s
e
l
e
c
t
i
o
n
b
i
t
:
m
X
C
r
N
)
o
(
W
a
t
c
h
d
o
g
t
i
m
e
r
H
(
f
o
r
r
e
a
d
-
o
u
t
o
f
h
i
g
h
-
o
r
d
e
r
6
b
i
t
)
W
(
W
a
t
c
T
h
d
C
o
O
g
N
t
i
:
m
a
e
d
r
d
c
r
o
e
n
s
t
r
o
0
l
0
r
2
e
B
1
g
i
s
6
)
t
e
r
D
s
b
7
相關PDF資料
PDF描述
M38B48EAH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B41EBH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B42EBH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B43EBH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B44EBH-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M38B47EBH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B47ECH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B47EDH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B47EEH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B47EFH-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER