74
MI979 Series
User’s Manual
C.
Watchdog Timer Configuration
The Watchdog Timer (WDT) is used to generate a variety of output signals
after a user programmable count. The WDT is suitable for use in the
prevention of system lock-up, such as when software becomes trapped in a
deadlock. Under these sorts of circumstances, the timer will count to zero
and the selected outputs will be driven.
Under normal circumstance, you will need to restart the WDT at regular
intervals before the timer counts to zero.
1.
Sample Code: The file NCT6116D.H
//---------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//---------------------------------------------------------------------------
#ifndef __NCT6116D_H
#define __NCT6116D_H
1
//---------------------------------------------------------------------------
#define
NCT6116D_INDEX_PORT
(NCT6116D_BASE)
#define
NCT6116D_DATA_PORT
(NCT6111)
//---------------------------------------------------------------------------
#define
NCT6116D_REG_LD
0x07
//---------------------------------------------------------------------------
#define NCT6116D_UNLOCK
0x87
#define
NCT6116D_LOCK
0xAA
//---------------------------------------------------------------------------
unsigned int Init_NCT6116D(void);
void Set_NCT6116D_LD( unsigned char);
void Set_NCT6116D_Reg( unsigned char, unsigned char);
unsigned char Get_NCT6116D_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif
//__NCT6116D_H
Summary of Contents for MI979 Series
Page 5: ...MI979 Series User s Manual v This page is intentionally left blank ...
Page 8: ...viii MI979 Series User s Manual This page is intentionally left blank ...
Page 14: ...6 MI979 Series User s Manual 1 6 Block Diagram ...
Page 17: ...General Information MI979 Series User s Manual 9 1 1 8 Dimensions ...
Page 18: ...10 MI979 Series User s Manual This page is intentionally left blank ...
Page 42: ...34 MI979 Series User s Manual This page is intentionally left blank ...
Page 50: ...42 MI979 Series User s Manual This page is intentionally left blank ...
Page 76: ...68 MI979 Series User s Manual This page is intentionally left blank ...