NEC PD754244 Network Card User Manual


 
CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
120 Users Manual U10676EJ3V0UM
Example To use the
µ
PD754244 as a watchdog timer with a time interval of 5.46 ms (at fX = 6.0 MHz).
Note
Divide the program into several modules, each of which is completed within the set time of BTM (5.46
ms), and clear BT at the end of each module. If a hang-up occurs, BT is not cleared within the set
time. As a result, BT overflows, and the internal reset signal is asserted.
Initial setting:
SET1
SEL
MOV
MOV
SET1
.
.
.
MBE
MB15
A, #1101B
BTM, A
WDTM
; Sets time and starts
; Enables watchdog timer
(After that, set bit 3 of BTM to 1 every 5.46 ms.)
Module 1:
.
.
.
.
.
.
SET1
SEL
SET1
MBE
MB15
BTM.3
Processing completed
within 5.46 ms
Module 2:
.
.
.
.
.
.
SET1
SEL
SET1
MBE
MB15
BTM.3
Processing completed
within 5.46 ms
.
.
.
Note It is 7.81 ms when the
µ
PD754244 is operating at fX = 4.19 MHz.
In the case of the
µ
PD754144, it is 32.8 ms at fCC = 1.0 MHz.