beautypg.com

3 watchdog timer enable flag (wdtm) – NEC PD754144 User Manual

Page 117

background image

CHAPTER 6 PERIPHERAL HARDWARE FUNCTION

117

User’s Manual U10676EJ3V0UM

6.3.3 Watchdog timer enable flag (WDTM)

WDTM is a flag that enables assertion of the reset signal when an overflow occurs.

This flag is set by a bit manipulation instruction. Once this flag has been set, it cannot be cleared by an instruction.

Example To set watchdog timer function

SEL

MB15

; or CLR1 MBE

SET1

WDTM



SET1

BTM.3

; Sets bit 3 of BTM to “1”

The contents of this flag are cleared to 0 when the RESET signal is asserted.

Figure 6-22. Format of Watchdog Timer Enable Flag (WDTM)

WDTM

0

BT mode
Sets IRQBT when basic interval timer (BT) overflows

Address

F8BH.3

1

WT mode
Asserts internal reset signal when basic interval timer
(BT) overflows

This manual is related to the following products: