00001 /* 00002 * $Id: WD.h,v 1 2005/01/08 14:15:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2004 ONTRACK s.r.o. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 * 02111-1307, USA. 00020 * 00021 * Written by Boris Kralik <kralikbo@yahoo.com>, 2004 00022 * 00023 */ 00024 #ifndef WD_H 00025 #define WD_H 00026 00027 #define DBG 1 00028 #include "./include/lpc2119.h" 00029 #include "./include/lpcVIC.h" 00030 //#include "armVIC.h" 00031 #include "./include/types.h" 00032 00033 void WD_Init(uint32_t); 00034 void WD_Stop(void); 00035 void WD_Start(void); 00036 void WD_Reset(void); 00037 void WD_reset(char *); 00038 uint32_t wdTime; 00039 void __attribute__ ((interrupt("IRQ"))) WD_interrupt(void); 00040 00041 #endif
1.4.7