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

Method readCommand

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

Source from the content-addressed store, hash-verified

494 }
495
496 std::array<std::uint8_t, 8> readCommand(void) const override
497 {
498 std::array<std::uint8_t, 8> value{};
499 for (std::size_t i = 0; i < 4; i++) {
500 value[i] = static_cast<std::uint8_t>(commandHigh >> (i * 8));
501 value[i + 4] = static_cast<std::uint8_t>(commandLow >> (i * 8));
502 }
503 return value;
504 }
505
506 void write16(NtrCard::RegisterOffset offset, std::uint16_t value) override
507 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected