23 template<
typename Archive>
24 void serialize(Archive& ar,
unsigned version);
36 void executeCommand();
37 [[nodiscard]]
byte readCurrentByteFromCurrentSector();
40 const std::unique_ptr<HD> hd;
42 std::array<byte, 6> cmdBuf;
48 byte transferDelayCounter = 0;
50 unsigned currentSector = 0;
51 int currentByteInSector = 0;
SdCard(const DeviceConfig &config)
void serialize(Archive &ar, unsigned version)
byte transfer(byte value, bool cs)
This file implemented 3 utility functions: