Fixed problem in DeviceSettings::strParam, returned wrong string
[avr-sim.git] / src / Types.h
blob9f60114fa4a39b13986083b46a3543b0436256e2
1 #ifndef TYPES_H
2 #define TYPES_H
4 #include <inttypes.h>
6 namespace avr {
8 typedef uint8_t byte;
9 typedef int8_t sbyte;
10 typedef uint16_t word;
11 typedef int16_t sword;
12 typedef uint32_t dword;
13 typedef uint64_t lword;
16 * Define all of the different types of reset conditions:
18 enum RESET_TYPE {
19 POR_RESET, // Power-on reset
20 WDT_RESET, // Watch Dog timer timeout reset
21 JTAG_RESET, // JTAG reset
22 EXT_RESET, // External reset
23 SOFT_RESET, // Software initiated reset
24 BOD_RESET, // Brown out detection reset
25 SIM_RESET, // Simulation Reset
26 OTHER_RESET //
30 #endif /*TYPES_H*/