blob: 4402bdeff911ea006e3deba91b066653378153a7 [file] [log] [blame]
Zane Shelleyb406de42019-09-09 16:10:38 -05001/**
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
12namespace 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 */
21typedef 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 */
27static constexpr ChipType_t DEFAULT_CHIP_TYPE = 0;
28
29} // end namespace libhei