You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/interfaces/spi.hpp

17 lines
226 B

#ifndef _SPI_HPP_
#define _SPI_HPP_
#include <stdint.h>
template <typename Derived>
struct SPI
{
uint8_t trx_u8(const uint8_t& data);
void tx(const uint8_t& data);
uint8_t rx();
};
#endif // _SPI_HPP_