1 /*
2    Copyright (C) 1998 T. Scott Dattalo
3 
4 This file is part of the libgpsim library of gpsim
5 
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10 
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 Lesser General Public License for more details.
15 
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, see
18 <http://www.gnu.org/licenses/lgpl-2.1.html>.
19 */
20 
21 /*
22  * gpsim_classes.h
23  *
24  * This include file contains most of the class names defined in gpsim
25  * It's used to define forward references to classes and help alleviate
26  * include file dependencies.
27  */
28 
29 #ifndef __GPSIM_CLASSES_H__
30 #define __GPSIM_CLASSES_H__
31 
32 /*==================================================================
33  *
34  * Here are a few enum definitions
35  */
36 
37 
38 /*
39  * Define all of the different types of reset conditions:
40  */
41 
42 enum RESET_TYPE
43 {
44   POR_RESET,          // Power-on reset
45   WDT_RESET,          // Watch Dog timer timeout reset
46   IO_RESET,           // I/O pin  reset
47   MCLR_RESET,         // MCLR (Master Clear) reset
48   SOFT_RESET,         // Software initiated reset
49   BOD_RESET,          // Brown out detection reset
50   SIM_RESET,          // Simulation Reset
51   EXIT_RESET,         // Leaving Reset, resuming normal execution.
52   OTHER_RESET,         //
53   STKUNF_RESET,		// Stack undeflow reset
54   STKOVF_RESET		// Statck overflow reset
55 
56 };
57 
58 #endif //  __GPSIM_CLASSES_H__
59