w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RlinkCommand.hpp>
Public Types | |
typedef std::unique_ptr< RlinkCommandExpect > | exp_uptr_t |
Public Member Functions | |
RlinkCommand () | |
Default constructor. | |
RlinkCommand (const RlinkCommand &rhs) | |
Copy constructor. | |
~RlinkCommand () | |
Destructor. | |
void | CmdRreg (uint16_t addr) |
FIXME_docs. | |
void | CmdRblk (uint16_t addr, size_t size) |
FIXME_docs. | |
void | CmdRblk (uint16_t addr, uint16_t *pblock, size_t size) |
FIXME_docs. | |
void | CmdWreg (uint16_t addr, uint16_t data) |
FIXME_docs. | |
void | CmdWblk (uint16_t addr, const std::vector< uint16_t > &block) |
FIXME_docs. | |
void | CmdWblk (uint16_t addr, std::vector< uint16_t > &&block) |
FIXME_docs. | |
void | CmdWblk (uint16_t addr, const uint16_t *pblock, size_t size) |
FIXME_docs. | |
void | CmdLabo () |
FIXME_docs. | |
void | CmdAttn () |
FIXME_docs. | |
void | CmdInit (uint16_t addr, uint16_t data) |
FIXME_docs. | |
void | SetCommand (uint8_t cmd, uint16_t addr=0, uint16_t data=0) |
FIXME_docs. | |
void | SetSeqNumber (uint8_t snum) |
FIXME_docs. | |
void | SetAddress (uint16_t addr) |
FIXME_docs. | |
void | SetData (uint16_t data) |
FIXME_docs. | |
void | SetBlockWrite (const std::vector< uint16_t > &block) |
FIXME_docs. | |
void | SetBlockWrite (std::vector< uint16_t > &&block) |
FIXME_docs. | |
void | SetBlockRead (size_t size) |
FIXME_docs. | |
void | SetBlockExt (uint16_t *pblock, size_t size) |
FIXME_docs. | |
void | SetBlockDone (uint16_t dcnt) |
FIXME_docs. | |
void | SetStatus (uint8_t stat) |
FIXME_docs. | |
void | SetFlagBit (uint32_t mask) |
FIXME_docs. | |
void | ClearFlagBit (uint32_t mask) |
FIXME_docs. | |
void | SetRcvSize (size_t rsize) |
FIXME_docs. | |
void | SetExpect (exp_uptr_t &&upexp) |
FIXME_docs. | |
RlinkCommandExpect & | EnsureExpect () |
FIXME_docs. | |
void | SetExpectStatus (uint8_t stat, uint8_t statmsk=0xff) |
FIXME_docs. | |
void | SetExpectStatusDefault (uint8_t stat=0, uint8_t statmsk=0x0) |
FIXME_docs. | |
uint8_t | Request () const |
FIXME_docs. | |
uint8_t | Command () const |
FIXME_docs. | |
uint8_t | SeqNumber () const |
FIXME_docs. | |
uint16_t | Address () const |
FIXME_docs. | |
uint16_t | Data () const |
FIXME_docs. | |
const std::vector< uint16_t > & | Block () const |
FIXME_docs. | |
bool | HasBlockExt () const |
FIXME_docs. | |
uint16_t * | BlockPointer () |
FIXME_docs. | |
const uint16_t * | BlockPointer () const |
FIXME_docs. | |
size_t | BlockSize () const |
FIXME_docs. | |
size_t | BlockDone () const |
FIXME_docs. | |
bool | BlockDoneAll () const |
FIXME_docs. | |
uint8_t | Status () const |
FIXME_docs. | |
uint32_t | Flags () const |
FIXME_docs. | |
bool | TestFlagAny (uint32_t mask) const |
FIXME_docs. | |
bool | TestFlagAll (uint32_t mask) const |
FIXME_docs. | |
size_t | RcvSize () const |
FIXME_docs. | |
bool | HasExpect () const |
FIXME_docs. | |
const RlinkCommandExpect & | Expect () const |
FIXME_docs. | |
uint8_t | ExpectStatusValue () const |
FIXME_docs. | |
uint8_t | ExpectStatusMask () const |
FIXME_docs. | |
bool | ExpectStatusSet () const |
FIXME_docs. | |
bool | StatusCheck () const |
FIXME_docs. | |
bool | StatusIsChecked () const |
FIXME_docs. | |
void | Print (std::ostream &os, const RlinkAddrMap *pamap=0, size_t abase=16, size_t dbase=16, size_t sbase=16) const |
FIXME_docs. | |
std::string | CommandInfo () const |
FIXME_docs. | |
void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
RlinkCommand & | operator= (const RlinkCommand &rhs) |
FIXME_docs. | |
Static Public Member Functions | |
static const char * | CommandName (uint8_t cmd) |
FIXME_docs. | |
static const RflagName * | FlagNames () |
FIXME_docs. | |
Static Public Attributes | |
static const uint8_t | kCmdRreg = 0 |
command code read register | |
static const uint8_t | kCmdRblk = 1 |
command code read block | |
static const uint8_t | kCmdWreg = 2 |
command code write register | |
static const uint8_t | kCmdWblk = 3 |
command code write block | |
static const uint8_t | kCmdLabo = 4 |
command code list abort | |
static const uint8_t | kCmdAttn = 5 |
command code get attention | |
static const uint8_t | kCmdInit = 6 |
command code send initialize | |
static const uint32_t | kFlagInit = 1u<<0 |
cmd,addr,data setup | |
static const uint32_t | kFlagSend = 1u<<1 |
command send | |
static const uint32_t | kFlagDone = 1u<<2 |
command done | |
static const uint32_t | kFlagLabo = 1u<<3 |
command labo'ed | |
static const uint32_t | kFlagPktBeg = 1u<<4 |
command first in packet | |
static const uint32_t | kFlagPktEnd = 1u<<5 |
command last in packet | |
static const uint32_t | kFlagErrNak = 1u<<8 |
error: nak abort | |
static const uint32_t | kFlagErrDec = 1u<<9 |
error: decode error | |
static const uint32_t | kFlagChkStat = 1u<<12 |
stat expect check failed | |
static const uint32_t | kFlagChkData = 1u<<13 |
data expect check failed | |
static const uint32_t | kFlagChkDone = 1u<<14 |
done expect check failed | |
static const uint8_t | kStat_M_Stat = 0xf0 |
stat: external stat bits | |
static const uint8_t | kStat_V_Stat = 4 |
static const uint8_t | kStat_B_Stat = 0x0f |
static const uint8_t | kStat_M_Attn = kBBit03 |
stat: attn flag set | |
static const uint8_t | kStat_M_RbTout = kBBit02 |
stat: rbtout flag set | |
static const uint8_t | kStat_M_RbNak = kBBit01 |
stat: rbnak flag set | |
static const uint8_t | kStat_M_RbErr = kBBit00 |
stat: rberr flag set | |
Static Public Attributes inherited from Retro::Rbits | |
static const uint8_t | kBBit00 = 1u<< 0 |
static const uint8_t | kBBit01 = 1u<< 1 |
static const uint8_t | kBBit02 = 1u<< 2 |
static const uint8_t | kBBit03 = 1u<< 3 |
static const uint8_t | kBBit04 = 1u<< 4 |
static const uint8_t | kBBit05 = 1u<< 5 |
static const uint8_t | kBBit06 = 1u<< 6 |
static const uint8_t | kBBit07 = 1u<< 7 |
static const uint16_t | kWBit00 = 1u<< 0 |
static const uint16_t | kWBit01 = 1u<< 1 |
static const uint16_t | kWBit02 = 1u<< 2 |
static const uint16_t | kWBit03 = 1u<< 3 |
static const uint16_t | kWBit04 = 1u<< 4 |
static const uint16_t | kWBit05 = 1u<< 5 |
static const uint16_t | kWBit06 = 1u<< 6 |
static const uint16_t | kWBit07 = 1u<< 7 |
static const uint16_t | kWBit08 = 1u<< 8 |
static const uint16_t | kWBit09 = 1u<< 9 |
static const uint16_t | kWBit10 = 1u<<10 |
static const uint16_t | kWBit11 = 1u<<11 |
static const uint16_t | kWBit12 = 1u<<12 |
static const uint16_t | kWBit13 = 1u<<13 |
static const uint16_t | kWBit14 = 1u<<14 |
static const uint16_t | kWBit15 = 1u<<15 |
static const uint32_t | kLBit00 = 1u<< 0 |
static const uint32_t | kLBit01 = 1u<< 1 |
static const uint32_t | kLBit02 = 1u<< 2 |
static const uint32_t | kLBit03 = 1u<< 3 |
static const uint32_t | kLBit04 = 1u<< 4 |
static const uint32_t | kLBit05 = 1u<< 5 |
static const uint32_t | kLBit06 = 1u<< 6 |
static const uint32_t | kLBit07 = 1u<< 7 |
static const uint32_t | kLBit08 = 1u<< 8 |
static const uint32_t | kLBit09 = 1u<< 9 |
static const uint32_t | kLBit10 = 1u<<10 |
static const uint32_t | kLBit11 = 1u<<11 |
static const uint32_t | kLBit12 = 1u<<12 |
static const uint32_t | kLBit13 = 1u<<13 |
static const uint32_t | kLBit14 = 1u<<14 |
static const uint32_t | kLBit15 = 1u<<15 |
static const uint32_t | kLBit16 = 1u<<16 |
static const uint32_t | kLBit17 = 1u<<17 |
static const uint32_t | kLBit18 = 1u<<18 |
static const uint32_t | kLBit19 = 1u<<19 |
static const uint32_t | kLBit20 = 1u<<20 |
static const uint32_t | kLBit21 = 1u<<21 |
static const uint32_t | kLBit22 = 1u<<22 |
static const uint32_t | kLBit23 = 1u<<23 |
static const uint32_t | kLBit24 = 1u<<24 |
static const uint32_t | kLBit25 = 1u<<25 |
static const uint32_t | kLBit26 = 1u<<26 |
static const uint32_t | kLBit27 = 1u<<27 |
static const uint32_t | kLBit28 = 1u<<28 |
static const uint32_t | kLBit29 = 1u<<29 |
static const uint32_t | kLBit30 = 1u<<30 |
static const uint32_t | kLBit31 = 1u<<31 |
Protected Member Functions | |
void | SetCmdSimple (uint8_t cmd, uint16_t addr, uint16_t data) |
Protected Attributes | |
uint8_t | fRequest |
rlink request (cmd+seqnum) | |
uint16_t | fAddress |
rbus address | |
uint16_t | fData |
data | |
std::vector< uint16_t > | fBlock |
data vector for blk commands | |
uint16_t * | fpBlockExt |
external data for blk commands | |
size_t | fBlockExtSize |
transfer size if data external | |
size_t | fBlockDone |
valid transfer count | |
uint8_t | fStatus |
rlink command status | |
uint32_t | fFlags |
state bits | |
size_t | fRcvSize |
receive size for command | |
bool | fExpectStatusSet |
stat chk set explicitely | |
uint8_t | fExpectStatusVal |
status value | |
uint8_t | fExpectStatusMsk |
status mask | |
exp_uptr_t | fupExpect |
pointer to expect container | |
FIXME_docs.
Definition at line 47 of file RlinkCommand.hpp.
typedef std::unique_ptr<RlinkCommandExpect> Retro::RlinkCommand::exp_uptr_t |
Definition at line 49 of file RlinkCommand.hpp.
Retro::RlinkCommand::RlinkCommand | ( | ) |
Default constructor.
Definition at line 86 of file RlinkCommand.cpp.
Retro::RlinkCommand::RlinkCommand | ( | const RlinkCommand & | rhs | ) |
Copy constructor.
Definition at line 106 of file RlinkCommand.cpp.
Retro::RlinkCommand::~RlinkCommand | ( | ) |
Destructor.
Definition at line 126 of file RlinkCommand.cpp.
|
inline |
void Retro::RlinkCommand::CmdRblk | ( | uint16_t | addr, |
size_t | size | ||
) |
FIXME_docs.
Definition at line 132 of file RlinkCommand.cpp.
References kCmdRblk, SetBlockRead(), and SetCommand().
void Retro::RlinkCommand::CmdRblk | ( | uint16_t | addr, |
uint16_t * | pblock, | ||
size_t | size | ||
) |
FIXME_docs.
Definition at line 142 of file RlinkCommand.cpp.
References kCmdRblk, SetBlockExt(), and SetCommand().
|
inline |
void Retro::RlinkCommand::CmdWblk | ( | uint16_t | addr, |
const std::vector< uint16_t > & | block | ||
) |
FIXME_docs.
Definition at line 152 of file RlinkCommand.cpp.
References kCmdWblk, SetBlockWrite(), and SetCommand().
void Retro::RlinkCommand::CmdWblk | ( | uint16_t | addr, |
std::vector< uint16_t > && | block | ||
) |
FIXME_docs.
Definition at line 162 of file RlinkCommand.cpp.
References kCmdWblk, SetBlockWrite(), and SetCommand().
void Retro::RlinkCommand::CmdWblk | ( | uint16_t | addr, |
const uint16_t * | pblock, | ||
size_t | size | ||
) |
FIXME_docs.
Definition at line 172 of file RlinkCommand.cpp.
References kCmdWblk, SetBlockExt(), and SetCommand().
|
inline |
|
inline |
|
inline |
void Retro::RlinkCommand::SetCommand | ( | uint8_t | cmd, |
uint16_t | addr = 0 , |
||
uint16_t | data = 0 |
||
) |
|
inline |
FIXME_docs.
Definition at line 72 of file RlinkCommand.ipp.
References fRequest.
Referenced by Retro::RlinkConnect::EncodeRequest().
void Retro::RlinkCommand::SetAddress | ( | uint16_t | addr | ) |
|
inline |
FIXME_docs.
Definition at line 81 of file RlinkCommand.ipp.
References fData.
Referenced by Retro::RlinkConnect::DecodeResponse(), and Retro::Rw11Cpu::ModLalh().
void Retro::RlinkCommand::SetBlockWrite | ( | const std::vector< uint16_t > & | block | ) |
FIXME_docs.
Definition at line 211 of file RlinkCommand.cpp.
References fBlock, fBlockDone, fBlockExtSize, and fpBlockExt.
Referenced by CmdWblk().
void Retro::RlinkCommand::SetBlockWrite | ( | std::vector< uint16_t > && | block | ) |
FIXME_docs.
Definition at line 226 of file RlinkCommand.cpp.
References fBlock, fBlockDone, fBlockExtSize, and fpBlockExt.
void Retro::RlinkCommand::SetBlockRead | ( | size_t | size | ) |
FIXME_docs.
Definition at line 241 of file RlinkCommand.cpp.
References fBlock, fBlockDone, fBlockExtSize, and fpBlockExt.
Referenced by CmdRblk().
void Retro::RlinkCommand::SetBlockExt | ( | uint16_t * | pblock, |
size_t | size | ||
) |
FIXME_docs.
Definition at line 257 of file RlinkCommand.cpp.
References fBlockDone, fBlockExtSize, and fpBlockExt.
|
inline |
FIXME_docs.
Definition at line 90 of file RlinkCommand.ipp.
References fBlockDone.
Referenced by Retro::RlinkConnect::DecodeResponse().
|
inline |
FIXME_docs.
Definition at line 99 of file RlinkCommand.ipp.
References fStatus.
Referenced by Retro::RlinkConnect::DecodeResponse().
|
inline |
FIXME_docs.
Definition at line 108 of file RlinkCommand.ipp.
References fFlags.
Referenced by Retro::RlinkConnect::DecodeResponse(), and Retro::RlinkConnect::EncodeRequest().
|
inline |
FIXME_docs.
Definition at line 117 of file RlinkCommand.ipp.
References fFlags.
Referenced by Retro::RlinkConnect::EncodeRequest(), and Retro::RlinkConnect::Exec().
|
inline |
FIXME_docs.
Definition at line 126 of file RlinkCommand.ipp.
References fRcvSize.
Referenced by Retro::RlinkConnect::EncodeRequest().
void Retro::RlinkCommand::SetExpect | ( | exp_uptr_t && | upexp | ) |
|
inline |
FIXME_docs.
Definition at line 135 of file RlinkCommand.ipp.
References fupExpect.
Referenced by Retro::RlinkCommandList::SetLastExpectBlock(), Retro::RlinkCommandList::SetLastExpectData(), and Retro::RlinkCommandList::SetLastExpectDone().
|
inline |
FIXME_docs.
Definition at line 144 of file RlinkCommand.ipp.
References fExpectStatusMsk, fExpectStatusSet, and fExpectStatusVal.
|
inline |
FIXME_docs.
Definition at line 155 of file RlinkCommand.ipp.
References fExpectStatusMsk, fExpectStatusSet, and fExpectStatusVal.
Referenced by Retro::RlinkConnect::Exec().
|
inline |
FIXME_docs.
Definition at line 166 of file RlinkCommand.ipp.
References fRequest.
Referenced by Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RtclRlinkConnect::M_exec(), and Print().
|
inline |
FIXME_docs.
Definition at line 174 of file RlinkCommand.ipp.
References fRequest.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Dump(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), Retro::RlinkServer::GetAttnInfo(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::Rw11Cpu::ModLalh(), and Print().
|
inline |
FIXME_docs.
Definition at line 182 of file RlinkCommand.ipp.
References fRequest.
Referenced by Dump().
|
inline |
FIXME_docs.
Definition at line 190 of file RlinkCommand.ipp.
References fAddress.
Referenced by Retro::RlinkConnect::EncodeRequest(), and Retro::Rw11Cpu::ModLalh().
|
inline |
FIXME_docs.
Definition at line 198 of file RlinkCommand.ipp.
References fData.
Referenced by Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkServer::GetAttnInfo(), Retro::RtclRw11Cpu::M_cp(), and Retro::RtclRlinkConnect::M_exec().
|
inline |
FIXME_docs.
Definition at line 206 of file RlinkCommand.ipp.
References fBlock.
Referenced by Retro::RtclRw11Cpu::M_cp(), and Retro::RtclRlinkConnect::M_exec().
|
inline |
FIXME_docs.
Definition at line 214 of file RlinkCommand.ipp.
References fpBlockExt.
Referenced by BlockPointer(), and BlockSize().
|
inline |
FIXME_docs.
Definition at line 222 of file RlinkCommand.ipp.
References fBlock, fpBlockExt, and HasBlockExt().
Referenced by Retro::RlinkConnect::DecodeResponse(), Dump(), Retro::RlinkConnect::EncodeRequest(), Retro::Rw11CntlPC11::PpProcessBuf(), Print(), Retro::Rw11CntlLP11::ProcessBuf(), Retro::Rw11CntlDZ11::TxProcess(), and Retro::Rw11CntlDL11::TxProcessBuf().
|
inline |
FIXME_docs.
Definition at line 230 of file RlinkCommand.ipp.
References fBlock, fpBlockExt, and HasBlockExt().
|
inline |
FIXME_docs.
Definition at line 238 of file RlinkCommand.ipp.
References fBlock, fBlockExtSize, and HasBlockExt().
Referenced by BlockDoneAll(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Dump(), Retro::RlinkConnect::EncodeRequest(), Retro::Rw11CntlPC11::PpProcessBuf(), Print(), Retro::Rw11CntlLP11::ProcessBuf(), Retro::Rw11CntlDZ11::TxProcess(), and Retro::Rw11CntlDL11::TxProcessBuf().
|
inline |
FIXME_docs.
Definition at line 246 of file RlinkCommand.ipp.
References fBlockDone.
Referenced by BlockDoneAll(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::Rw11CntlPC11::PpProcessBuf(), Print(), Retro::Rw11CntlLP11::ProcessBuf(), Retro::Rw11CntlDZ11::TxProcess(), and Retro::Rw11CntlDL11::TxProcessBuf().
|
inline |
FIXME_docs.
Definition at line 254 of file RlinkCommand.ipp.
References BlockDone(), and BlockSize().
|
inline |
FIXME_docs.
Definition at line 262 of file RlinkCommand.ipp.
References fStatus.
Referenced by Retro::RtclRw11Cpu::M_cp(), and Retro::RtclRlinkConnect::M_exec().
|
inline |
FIXME_docs.
Definition at line 270 of file RlinkCommand.ipp.
References fFlags.
Referenced by Retro::RtclRlinkConnect::M_exec().
|
inline |
FIXME_docs.
Definition at line 278 of file RlinkCommand.ipp.
References fFlags.
Referenced by CommandInfo(), Retro::RlinkConnect::Exec(), and Print().
|
inline |
|
inline |
FIXME_docs.
Definition at line 294 of file RlinkCommand.ipp.
References fRcvSize.
Referenced by Retro::RlinkConnect::DecodeResponse().
|
inline |
FIXME_docs.
Definition at line 302 of file RlinkCommand.ipp.
References fupExpect.
Referenced by Retro::RlinkConnect::DecodeResponse(), and Print().
|
inline |
FIXME_docs.
Definition at line 310 of file RlinkCommand.ipp.
References fupExpect.
Referenced by Retro::RlinkConnect::DecodeResponse(), and Print().
|
inline |
|
inline |
|
inline |
FIXME_docs.
Definition at line 334 of file RlinkCommand.ipp.
References fExpectStatusSet.
Referenced by Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), and Print().
|
inline |
FIXME_docs.
Definition at line 342 of file RlinkCommand.ipp.
References fExpectStatusMsk, fExpectStatusVal, and fStatus.
Referenced by Retro::RlinkConnect::DecodeResponse().
|
inline |
FIXME_docs.
Definition at line 350 of file RlinkCommand.ipp.
References fExpectStatusMsk.
Referenced by Retro::RlinkConnect::DecodeResponse(), and Print().
void Retro::RlinkCommand::Print | ( | std::ostream & | os, |
const RlinkAddrMap * | pamap = 0 , |
||
size_t | abase = 16 , |
||
size_t | dbase = 16 , |
||
size_t | sbase = 16 |
||
) | const |
FIXME_docs.
Definition at line 283 of file RlinkCommand.cpp.
References BlockDone(), Retro::RlinkCommandExpect::BlockIsChecked(), Retro::RlinkCommandExpect::BlockMask(), BlockPointer(), BlockSize(), Retro::RlinkCommandExpect::BlockValue(), Command(), CommandName(), Expect(), ExpectStatusSet(), fAddress, fData, fExpectStatusMsk, fExpectStatusVal, fFlags, Retro::RlinkAddrMap::Find(), FlagNames(), Retro::Rtools::Flags2String(), fStatus, HasExpect(), kCmdAttn, kCmdInit, kCmdLabo, kCmdRblk, kCmdRreg, kCmdWblk, kCmdWreg, kFlagChkData, kFlagChkDone, kFlagChkStat, kFlagDone, kFlagErrDec, kFlagErrNak, kFlagLabo, kFlagPktBeg, kFlagSend, Retro::RlinkAddrMap::MaxNameLength(), Request(), Retro::RosPrintf(), StatusIsChecked(), and TestFlagAny().
std::string Retro::RlinkCommand::CommandInfo | ( | ) | const |
FIXME_docs.
Definition at line 453 of file RlinkCommand.cpp.
References BlockDone(), BlockSize(), Command(), CommandName(), fAddress, fData, fStatus, kCmdAttn, kCmdInit, kCmdLabo, kCmdRblk, kCmdRreg, kCmdWblk, kCmdWreg, kFlagChkData, kFlagChkDone, kFlagChkStat, kFlagDone, kFlagLabo, kFlagPktBeg, kFlagSend, Retro::RosPrintf(), and TestFlagAny().
void Retro::RlinkCommand::Dump | ( | std::ostream & | os, |
int | ind = 0 , |
||
const char * | text = 0 , |
||
int | detail = 0 |
||
) | const |
FIXME_docs.
Definition at line 520 of file RlinkCommand.cpp.
References BlockPointer(), BlockSize(), Command(), CommandName(), fAddress, fBlock, fBlockDone, fBlockExtSize, fData, fExpectStatusMsk, fExpectStatusSet, fExpectStatusVal, fFlags, FlagNames(), Retro::Rtools::Flags2String(), fpBlockExt, fRcvSize, fRequest, fStatus, fupExpect, Retro::RosPrintf(), and SeqNumber().
|
static |
FIXME_docs.
Definition at line 560 of file RlinkCommand.cpp.
Referenced by CommandInfo(), Dump(), Print(), and Retro::RtclRlinkConnect::RtclRlinkConnect().
|
static |
FIXME_docs.
Definition at line 571 of file RlinkCommand.cpp.
References kFlagChkData, kFlagChkDone, kFlagChkStat, kFlagDone, kFlagErrDec, kFlagErrNak, kFlagInit, kFlagLabo, kFlagPktBeg, kFlagPktEnd, and kFlagSend.
RlinkCommand & Retro::RlinkCommand::operator= | ( | const RlinkCommand & | rhs | ) |
FIXME_docs.
Definition at line 594 of file RlinkCommand.cpp.
References fAddress, fBlock, fBlockDone, fBlockExtSize, fData, fExpectStatusMsk, fExpectStatusSet, fExpectStatusVal, fFlags, fpBlockExt, fRcvSize, fRequest, fStatus, and fupExpect.
|
protected |
|
static |
command code read register
Definition at line 124 of file RlinkCommand.hpp.
Referenced by CmdRreg(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), and Print().
|
static |
command code read block
Definition at line 125 of file RlinkCommand.hpp.
Referenced by CmdRblk(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), and Print().
|
static |
command code write register
Definition at line 126 of file RlinkCommand.hpp.
Referenced by CmdWreg(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::Rw11Cpu::ModLalh(), and Print().
|
static |
command code write block
Definition at line 127 of file RlinkCommand.hpp.
Referenced by CmdWblk(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), and Print().
|
static |
command code list abort
Definition at line 128 of file RlinkCommand.hpp.
Referenced by CmdLabo(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Print(), Retro::Rw11CntlRHRP::RdmaPostExecCB(), Retro::Rw11CntlRK11::RdmaPostExecCB(), and Retro::Rw11CntlRL11::RdmaPostExecCB().
|
static |
command code get attention
Definition at line 129 of file RlinkCommand.hpp.
Referenced by CmdAttn(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), Retro::RlinkServer::GetAttnInfo(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), and Print().
|
static |
command code send initialize
Definition at line 130 of file RlinkCommand.hpp.
Referenced by CmdInit(), CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), Print(), and SetCommand().
|
static |
cmd,addr,data setup
Definition at line 132 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::Exec(), FlagNames(), and SetCommand().
|
static |
command send
Definition at line 133 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
command done
Definition at line 134 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
command labo'ed
Definition at line 135 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
command first in packet
Definition at line 137 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
command last in packet
Definition at line 138 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::EncodeRequest(), Retro::RlinkConnect::Exec(), and FlagNames().
|
static |
error: nak abort
Definition at line 140 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
error: decode error
Definition at line 141 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
stat expect check failed
Definition at line 143 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
data expect check failed
Definition at line 144 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
done expect check failed
Definition at line 145 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Retro::RlinkConnect::DecodeResponse(), Retro::RlinkConnect::Exec(), FlagNames(), and Print().
|
static |
stat: external stat bits
Definition at line 147 of file RlinkCommand.hpp.
|
static |
Definition at line 148 of file RlinkCommand.hpp.
|
static |
Definition at line 149 of file RlinkCommand.hpp.
|
static |
stat: attn flag set
Definition at line 150 of file RlinkCommand.hpp.
|
static |
stat: rbtout flag set
Definition at line 151 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::LinkInit(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::Rw11CntlPC11::PpRcvHandler(), Retro::Rw11Cpu::ProbeCntl(), Retro::Rw11CntlLP11::RcvHandler(), Retro::RlinkConnect::RlinkConnect(), Retro::RlinkServer::RlinkServer(), Retro::Rw11Cpu::SetupOpt(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlLP11::Start(), Retro::Rw11CntlPC11::Start(), Retro::Rw11CntlDL11::TxRcvHandler(), and Retro::Rw11CntlDZ11::TxRcvHandler().
|
static |
stat: rbnak flag set
Definition at line 152 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::LinkInit(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::Rw11CntlPC11::PpRcvHandler(), Retro::Rw11Cpu::ProbeCntl(), Retro::Rw11CntlLP11::RcvHandler(), Retro::RlinkConnect::RlinkConnect(), Retro::RlinkServer::RlinkServer(), Retro::Rw11Cpu::SetupOpt(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlLP11::Start(), Retro::Rw11CntlPC11::Start(), Retro::Rw11CntlDL11::TxRcvHandler(), and Retro::Rw11CntlDZ11::TxRcvHandler().
|
static |
stat: rberr flag set
Definition at line 153 of file RlinkCommand.hpp.
Referenced by Retro::RlinkConnect::LinkInit(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::Rw11Cpu::ProbeCntl(), Retro::RlinkConnect::RlinkConnect(), Retro::RlinkServer::RlinkServer(), and Retro::Rw11Cpu::SetupOpt().
|
protected |
rlink request (cmd+seqnum)
Definition at line 159 of file RlinkCommand.hpp.
Referenced by Command(), Dump(), operator=(), Request(), SeqNumber(), SetCommand(), and SetSeqNumber().
|
protected |
rbus address
Definition at line 160 of file RlinkCommand.hpp.
Referenced by Address(), CommandInfo(), Dump(), operator=(), Print(), SetAddress(), and SetCommand().
|
protected |
data
Definition at line 161 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Data(), Dump(), operator=(), Print(), SetCommand(), and SetData().
|
protected |
data vector for blk commands
Definition at line 162 of file RlinkCommand.hpp.
Referenced by Block(), BlockPointer(), BlockSize(), Dump(), operator=(), SetBlockRead(), and SetBlockWrite().
|
protected |
external data for blk commands
Definition at line 163 of file RlinkCommand.hpp.
Referenced by BlockPointer(), Dump(), HasBlockExt(), operator=(), SetBlockExt(), SetBlockRead(), SetBlockWrite(), and SetCommand().
|
protected |
transfer size if data external
Definition at line 164 of file RlinkCommand.hpp.
Referenced by BlockSize(), Dump(), operator=(), SetBlockExt(), SetBlockRead(), SetBlockWrite(), and SetCommand().
|
protected |
valid transfer count
Definition at line 165 of file RlinkCommand.hpp.
Referenced by BlockDone(), Dump(), operator=(), SetBlockDone(), SetBlockExt(), SetBlockRead(), SetBlockWrite(), and SetCommand().
|
protected |
rlink command status
Definition at line 166 of file RlinkCommand.hpp.
Referenced by CommandInfo(), Dump(), operator=(), Print(), SetCommand(), SetStatus(), Status(), and StatusCheck().
|
protected |
state bits
Definition at line 167 of file RlinkCommand.hpp.
Referenced by ClearFlagBit(), Dump(), Flags(), operator=(), Print(), SetCommand(), SetFlagBit(), TestFlagAll(), and TestFlagAny().
|
protected |
receive size for command
Definition at line 168 of file RlinkCommand.hpp.
Referenced by Dump(), operator=(), RcvSize(), SetCommand(), and SetRcvSize().
|
protected |
stat chk set explicitely
Definition at line 169 of file RlinkCommand.hpp.
Referenced by Dump(), ExpectStatusSet(), operator=(), SetExpectStatus(), and SetExpectStatusDefault().
|
protected |
status value
Definition at line 170 of file RlinkCommand.hpp.
Referenced by Dump(), ExpectStatusValue(), operator=(), Print(), SetExpectStatus(), SetExpectStatusDefault(), and StatusCheck().
|
protected |
status mask
Definition at line 171 of file RlinkCommand.hpp.
Referenced by Dump(), ExpectStatusMask(), operator=(), Print(), SetExpectStatus(), SetExpectStatusDefault(), StatusCheck(), and StatusIsChecked().
|
protected |
pointer to expect container
Definition at line 172 of file RlinkCommand.hpp.
Referenced by Dump(), EnsureExpect(), Expect(), HasExpect(), operator=(), SetCommand(), and SetExpect().