RISC-V/V203/usb/common/oneway.h

11 lines
216 B
C
Raw Normal View History

2024-10-19 14:58:36 +02:00
#ifndef ONEWAY_H
#define ONEWAY_H
#include <stdint.h>
/* C++ interface (jako callback v C) */
class OneWay {
public:
virtual unsigned Send (uint16_t * const ptr, const unsigned len) = 0;
};
#endif // ONEWAY_H