Zane Shelley | b406de4 | 2019-09-09 16:10:38 -0500 | [diff] [blame^] | 1 | /** |
| 2 | * @file hei_types.hpp |
| 3 | * |
| 4 | * This file contains simple types/enums used throughout all of the isolator |
| 5 | * code. |
| 6 | */ |
| 7 | |
| 8 | #pragma once |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | namespace libhei |
| 13 | { |
| 14 | |
| 15 | /** |
| 16 | * Each Chip Data File will contain a 32-bit number representing the type of |
| 17 | * chip characterized by the file. That value must also be provide by the user |
| 18 | * application for each chip used in isolation so the isolator will know which |
| 19 | * Chip Data File to reference. |
| 20 | */ |
| 21 | typedef uint32_t ChipType_t; |
| 22 | |
| 23 | /** |
| 24 | * This is used for error checking. If a chip type contains this value, it is |
| 25 | * not a valid chip type. |
| 26 | */ |
| 27 | static constexpr ChipType_t DEFAULT_CHIP_TYPE = 0; |
| 28 | |
| 29 | } // end namespace libhei |