RISC-V/V203F6P6/programmer/spiblocked.h

13 lines
256 B
C
Raw Normal View History

2025-02-03 19:18:47 +01:00
#ifndef SPIBLOCKED_H
#define SPIBLOCKED_H
#include <stdint.h>
class SpiBlocked {
public:
explicit SpiBlocked () noexcept;
uint8_t ReadWriteByte (const uint8_t data) const;
void ChipSelect (const bool on) const;
};
#endif // SPIBLOCKED_H