/*H**************************************************************************
* $RCSfile: wdt_drv.h,v $
*----------------------------------------------------------------------------
* Copyright (c) 2002 Atmel.
*----------------------------------------------------------------------------
* RELEASE: $Name: DEMO_FAT_1_9_9 $
* REVISION: $Revision: 1.1 $
* FILE_CVSID: $Id: wdt_drv.h,v 1.1 2002/07/11 12:29:47 ffosse Exp $
*----------------------------------------------------------------------------
* PURPOSE:
* This file contains the Watchdog Timer driver definition
*****************************************************************************/
#ifndef _WDT_DRV_H_
#define _WDT_DRV_H_
/*_____ I N C L U D E S ____________________________________________________*/
/*_____ M A C R O S ________________________________________________________*/
/*_____ D E F I N I T I O N ________________________________________________*/
/*_____ D E C L A R A T I O N ______________________________________________*/
#define Wdt_enable(b) (WDTPRG = (b & MSK_WTO)); (WDTRST = 0x1E); (WDTRST = 0xE1)
#define Wdt_refresh() (WDTRST = 0x1E); (WDTRST = 0xE1)
#endif /* _WDT_DRV_H_ */