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

Method wordsForCommand

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

Source from the content-addressed store, hash-verified

564 std::uint64_t ticks(void) const override { return tick++; }
565
566 std::size_t wordsForCommand(void) const
567 {
568 if (currentCommand == 0x81) {
569 return NtrCard::sectorWords;
570 }
571 if (currentCommand == 0xD6) {
572 return 1;
573 }
574 return 0;
575 }
576
577 static constexpr std::uint32_t busy = 1u << 31;
578 static constexpr std::uint32_t dataReady = 1u << 23;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected