narf52/interfaces/spi_interface.h

17 lines
302 B
C
Raw Normal View History

2020-03-29 18:43:56 +00:00
#ifndef __INTERFACES_SPI_INTERFACE_H__
#define __INTERFACES_SPI_INTERFACE_H__
#include <cstdint>
namespace interfaces {
class SpiInterface
{
public:
virtual void send(const uint8_t * buffer, uint32_t len) = 0;
virtual void recv(uint8_t * buffer, uint32_t len) = 0;
};
};
#endif