blob: e51b206e2b8b5b3e107dcf7742024b0b594273a8 [file] [log] [blame]
Ben Tyner92e39fd2020-02-05 18:11:02 -06001/**
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
8namespace libhei
9{
10
11//------------------------------------------------------------------------------
12
13ReturnCode 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
28ReturnCode 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