43
Enable WatchDog
Disable WatchDog
void F75111_SetWDTEnable (BYTE byteTimer)
{
WriteByte(F75111_INTERNAL_ADDR,WDT_TIMER_RANGE ,byteTimer); // set WatchDog range and timer
WriteByte(F75111_INTERNAL_ADDR,WDT_CONFIGURATION,WDT_TIMEOUT_FLAG | WDT_ENABLE | WDT_PULSE | WDT_PSWIDTH_100MS);
// Enable WatchDog, Setting WatchDog con
fi
gure
}
void F75111_SetWDTDisable ()
{
WriteByte(F75111_INTERNAL_ADDR,WDT_CONFIGURATION,0x00); // Disable WatchDog
}