RISC-V/V003/common/oneway.h

11 lines
216 B
C
Raw Permalink Normal View History

2024-03-01 14:14:21 +01:00
#ifndef ONEWAY_H
#define ONEWAY_H
#include <stdint.h>
2024-03-01 17:32:22 +01:00
/* C++ interface (jako callback v C) */
2024-03-01 14:14:21 +01:00
class OneWay {
public:
virtual unsigned Send (uint16_t * const ptr, const unsigned len) = 0;
};
#endif // ONEWAY_H