Ben Tyner | 92e39fd | 2020-02-05 18:11:02 -0600 | [diff] [blame] | 1 | /** |
| 2 | * @file These are implementations of the user interfaces declared in |
| 3 | * hei_user_interface.hpp |
| 4 | */ |
| 5 | |
| 6 | #include <hei_user_interface.hpp> |
| 7 | |
| 8 | namespace libhei |
| 9 | { |
| 10 | |
| 11 | //------------------------------------------------------------------------------ |
| 12 | |
| 13 | ReturnCode registerRead(const Chip& i_chip, void* o_buffer, size_t& io_bufSize, |
| 14 | uint64_t i_regType, uint64_t i_address) |
| 15 | { |
| 16 | ReturnCode rc = RC_SUCCESS; |
| 17 | |
| 18 | // HEI_INF("registerRead(%p,%p,%lx,%lx,%lx)", i_chip.getChip(), |
| 19 | // o_buffer, io_bufSize, i_regType, i_address); |
| 20 | |
| 21 | return rc; |
| 22 | } |
| 23 | |
| 24 | //------------------------------------------------------------------------------ |
| 25 | |
| 26 | #ifndef __HEI_READ_ONLY |
| 27 | |
| 28 | ReturnCode registerWrite(const Chip& i_chip, void* i_buffer, size_t& io_bufSize, |
| 29 | uint64_t i_regType, uint64_t i_address) |
| 30 | { |
| 31 | ReturnCode rc = RC_SUCCESS; |
| 32 | |
| 33 | // HEI_INF("registerWrite(%p,%p,%lx,%lx,%lx)", i_chip.getChip(), |
| 34 | // i_buffer, io_bufSize, i_regType, i_address); |
| 35 | |
| 36 | return rc; |
| 37 | } |
| 38 | |
| 39 | #endif |
| 40 | |
| 41 | //------------------------------------------------------------------------------ |
| 42 | |
| 43 | } // namespace libhei |