Watchdog Timer Configuration - IBASE Technology FWA9400 User Manual

2u rackmount network appliance
Table of Contents

Advertisement

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 the 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 NCT5523D.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 __NCT5523D_H
#define __NCT5523D_H
//---------------------------------------------------------------------------
#define
NCT5523D_INDEX_PORT
#define
NCT5523D_DATA_PORT
//---------------------------------------------------------------------------
#define
NCT5523D_REG_LD
//---------------------------------------------------------------------------
#define NCT5523D_UNLOCK
#define
NCT5523D_LOCK
//---------------------------------------------------------------------------
unsigned int Init_NCT5523D(void);
void Set_NCT5523D_LD( unsigned char);
void Set_NCT5523D_Reg( unsigned char, unsigned char);
unsigned char Get_NCT5523D_Reg( unsigned char);
//---------------------------------------------------------------------------
#endif
//__NCT5523D_H
FWA9400 User Manual
1
(NCT5523D_BASE)
(NCT5523D_BASE+1)
0x07
0x87
0xAA
Appendix
51

Advertisement

Table of Contents
loading

Table of Contents