blob: 30e869d61d273057a81b5c2280b740f9b9758927 [file] [log] [blame]
Zane Shelley465e0b32019-04-17 10:15:39 -05001
2#pragma once
3
Zane Shelley814b1e32019-06-17 20:55:04 -05004// The user application must define this header file with the following macros:
5//
6// Tracing (inputs same as printf() from <cstdio>):
7// HEI_INF( ... ) // Generic informational trace
8// HEI_ERR( ... ) // Error path trace
9//
10// Assertion (at a minimum should work like assert() from <cassert>):
11// HEI_ASSERT( expression )
12//
13#include <hei_user_defines.hpp>
Zane Shelley465e0b32019-04-17 10:15:39 -050014
Zane Shelley814b1e32019-06-17 20:55:04 -050015namespace libhei
16{
17
18/**
19 * @brief Perform a hardware read operation.
20 */
21void deviceRead();
22
23#ifndef __HEI_READ_ONLY
24
25/**
26 * @brief Perform a hardware write operation.
27 */
28void deviceWrite();
29
30#endif
31
32} // end namespace libhei
Zane Shelley465e0b32019-04-17 10:15:39 -050033