13 lines
239 B
C
13 lines
239 B
C
|
#ifndef SPIBLOCKED_H
|
||
|
#define SPIBLOCKED_H
|
||
|
#include <stdint.h>
|
||
|
|
||
|
class SpiBlocked {
|
||
|
public:
|
||
|
explicit SpiBlocked () noexcept;
|
||
|
uint8_t ReadWriteByte (const uint8_t data);
|
||
|
void ChipSelect (const bool on);
|
||
|
};
|
||
|
|
||
|
#endif // SPIBLOCKED_H
|