CHAPTER 4 SETTING METHODS
[Example 3]
Stopping the watchdog timer
WDTM
1 x x x x
MOV WDTM, #01110111B
WDTM = 0b01110111;
The WDTM setting value is “011
1xxxx
(x: don’t care, bits 7, 6, and 5 must be set to 0, 1, and 1,
respectively)”. (In the example below, “x” of bit 3 and bits 2 to 0 is set to 0 and 1, respectively.)
•
Assembly language
•
C language
Option byte (address: 0080H)
The option byte setting value is “1xx1xxx
0
(x: don’t care, bits 7 and 4 must be set to 1)”.
When the software is described together with the protect byte setting, the following results. (In the
example below, bits 6, 5, and 1 are set to 0, and bits 3 and 2 are set to 1.)
0 1 1
Operation clock selection
1
Overflow time setting
x x x
(Invalid setting due to watchdog timer operation
stop)
x
Watchdog timer operation stop
1 x x x
0
1 x x
Oscillation control of the low-speed internal oscillator
0
Can be stopped by using software
OPBT CSEG
AT
0080H
DB
10011100B
DB
11111111B
Application Note U18847EJ1V0AN
16