| 170 | } |
| 171 | |
| 172 | void writeCommand(const std::array<std::uint8_t, 8>& command) override |
| 173 | { |
| 174 | auto* const output = reinterpret_cast<volatile std::uint8_t*>( |
| 175 | NtrCard::processRegisterBase + static_cast<std::uintptr_t>(NtrCard::RegisterOffset::CommandHigh)); |
| 176 | for (std::size_t i = 0; i < command.size(); i++) { |
| 177 | output[i] = command[i]; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | std::uint64_t ticks(void) const override |
| 182 | { |
no test coverage detected