Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Zane Shelley | dd69c96 | 2020-05-05 22:19:11 -0500 | [diff] [blame] | 3 | #include <isolator/hei_isolation_chip.hpp> |
Zane Shelley | a61f4c5 | 2019-08-01 13:58:49 -0500 | [diff] [blame] | 4 | |
| 5 | namespace libhei |
Zane Shelley | dd69c96 | 2020-05-05 22:19:11 -0500 | [diff] [blame] | 6 | { |
| 7 | |
| 8 | /** |
| 9 | * @brief Parses a buffer containing a Chip Data File and builds the necessary |
| 10 | * objects. |
| 11 | * |
| 12 | * This function will assert: |
| 13 | * - The buffer is a properly formated Chip Data File and contains valid data. |
| 14 | * - An IsolationChip object has not already been created for the chip type |
| 15 | * associated with the given buffer. |
| 16 | * |
| 17 | * @param i_buffer First address of the Chip Data File buffer. |
| 18 | * @param i_bufferSize Size of the Chip Data File buffer. |
| 19 | * @param io_isoChips This map will contain all current IsolationChip objects |
| 20 | * for each of the user applications chip types. |
| 21 | */ |
| 22 | void parseChipDataFile(void* i_buffer, size_t i_bufferSize, |
Zane Shelley | 4de8ff8 | 2020-05-14 15:39:01 -0500 | [diff] [blame] | 23 | IsolationChip::Map& io_isoChips); |
Zane Shelley | dd69c96 | 2020-05-05 22:19:11 -0500 | [diff] [blame] | 24 | |
| 25 | } // end namespace libhei |