Bug fix: check if vm exists
[avr-sim.git] / Types.h
blob363f79722df00ba362d1fba19ac5501af1983b88
1 #ifndef TYPES_H
2 #define TYPES_H
4 #include <inttypes.h>
5 typedef uint8_t byte;
6 typedef int8_t sbyte;
7 typedef uint16_t word;
8 typedef int16_t sword;
9 typedef uint32_t dword;
10 typedef uint64_t lword;
13 * Define all of the different types of reset conditions:
15 enum RESET_TYPE {
16 POR_RESET, // Power-on reset
17 WDT_RESET, // Watch Dog timer timeout reset
18 JTAG_RESET, // JTAG reset
19 EXT_RESET, // External reset
20 SOFT_RESET, // Software initiated reset
21 BOD_RESET, // Brown out detection reset
22 SIM_RESET, // Simulation Reset
23 OTHER_RESET //
26 #endif /*TYPES_H*/