#ifndef SPICLASS_H #define SPICLASS_H /** */ static constexpr unsigned SPIBUFLEN = 8u; class SpiClass { unsigned total; volatile bool complete; char buffer [SPIBUFLEN]; public: explicit SpiClass () noexcept; void Init (); void drq (); bool send (const char * data, const unsigned len); protected: // void select (const bool set) const noexcept; }; #endif // SPICLASS_H