Xmega Application Note


wdt_driver.h

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00059 #ifndef WDT_DRIVER_H
00060 #define WDT_DRIVER_H
00061 
00062 
00063 #include "avr_compiler.h"
00064 
00065 
00066 /* Definition of macros */
00067 
00069 #define WDT_IsSyncBusy() ( WDT.STATUS & WDT_SYNCBUSY_bm )
00070 
00072 #define WDT_Reset()     asm("wdr") //( watchdog_reset( ) )
00073 
00074 
00075 /* Prototypes of funtions. */
00076 
00077 void WDT_Enable( void );
00078 void WDT_EnableAndSetTimeout( WDT_PER_t period );
00079 void WDT_Disable( void );
00080 bool WDT_IsWindowModeEnabled( void );
00081 bool WDT_EnableWindowMode( void );
00082 bool WDT_EnableWindowModeAndSetTimeout( WDT_WPER_t period );
00083 void WDT_DisableWindowMode( void );
00084 
00085 #endif
@DOC_TITLE@
Generated on Thu Apr 16 15:20:08 2009 for AVR1310 Using the XMEGA Watchdog by doxygen 1.5.8