31 unsigned& blocks) = 0;
34 virtual int msgOut(uint8_t value) = 0;
39 [[nodiscard]]
virtual unsigned dataIn(
unsigned& blocks) = 0;
40 [[nodiscard]]
virtual unsigned dataOut(
unsigned& blocks) = 0;
static constexpr unsigned BIT_SCSI3
static constexpr unsigned BUFFER_SIZE
virtual unsigned dataIn(unsigned &blocks)=0
static constexpr unsigned MODE_MEGASCSI
virtual uint8_t msgIn()=0
static constexpr unsigned MODE_NOVAXIS
static constexpr unsigned MODE_SCSI3
virtual bool isSelected()=0
virtual unsigned executingCmd(SCSI::Phase &phase, unsigned &blocks)=0
static constexpr unsigned BIT_SCSI2
static constexpr unsigned BIT_SCSI2_ONLY
static constexpr unsigned MODE_SCSI1
static constexpr unsigned MODE_UNITATTENTION
virtual int msgOut(uint8_t value)=0
virtual ~SCSIDevice()=default
virtual unsigned dataOut(unsigned &blocks)=0
virtual unsigned executeCmd(std::span< const uint8_t, 12 > cdb, SCSI::Phase &phase, unsigned &blocks)=0
virtual void busReset()=0
virtual uint8_t getStatusCode()=0
static constexpr unsigned MODE_SCSI2
virtual void disconnect()=0
This file implemented 3 utility functions: