/*H**************************************************************************
* NAME: wdt_drv.h
*----------------------------------------------------------------------------
* Copyright (c) 2003 Atmel.
*----------------------------------------------------------------------------
* RELEASE: snd1c-refd-nf-4_0_3
* REVISION: 1.1
*----------------------------------------------------------------------------
* 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_ */