Fujitsu F2MC-8FX MB95200H/210H Series Application Note page 17

8-bit microcontroller watchdog timer
Hide thumbs Also See for F2MC-8FX MB95200H/210H Series:
Table of Contents

Advertisement

while(1)
{
PDR0_P05 = ~PDR0_P05;
Delay (500);
WDTC |= 0x05;
}
}
startup.asm
;--------------------------------------------------------------------------
; variable define declaration
;--------------------------------------------------------------------------
#define HWD_DISABLE
;--------------------------------------------------------------------------
; Hard Watchdog
;--------------------------------------------------------------------------
#ifdef HWD_DISABLE
.SECTION WDT, CONST, LOCATE=H FFBE
.DATA.W 0xA596
#endif
WATCHDOG TIMER V1.1
Chapter 7 Appendix
// show program is normal run
// clear WDT timer within a certain amount of time
; if define this, Hard Watchdog will disable.
MCU-AN-500013-E-11 – Page 17

Advertisement

Table of Contents
loading

Table of Contents