MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / writeCommand

Method writeCommand

tests/ntrcard-probe-test.cpp:198–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 }
197
198 void writeCommand(const std::array<std::uint8_t, 8>& value) override
199 {
200 commandWrites.push_back(value);
201 if (value[0] == 0xB7) {
202 b7Index = b7Seen++;
203 }
204 currentCommand = value[0];
205 fifoWordsRead = 0;
206 started = false;
207 commandHigh = packLittle(value, 0);
208 commandLow = packLittle(value, 4);
209 }
210
211 std::uint64_t ticks(void) const override { return tick++; }
212

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected