68 throw Rexception(
"Rw11Cntl::SetEnable",
"only allowed before Start()");
94 uint16_t& aload, uint16_t& astart)
125 if (index > 9) name += char(
'0' + index/10);
126 name += char(
'0' + index%10);
137 os << bl << (text?text:
"--") <<
"Rw11Cntl @ " <<
this << endl;
139 os << bl <<
" fpCpu: " <<
fpCpu << endl;
140 os << bl <<
" fType: " <<
fType << endl;
141 os << bl <<
" fName: " <<
fName << endl;
143 os << bl <<
" fLam: " <<
fLam << endl;
147 os << bl <<
" fTraceLevel: " <<
fTraceLevel << endl;
157 uint16_t probeoff,
bool probeint,
bool proberem)
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
I/O appicator to generate fill characters.
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
void Define(size_t ind, const std::string &name, const std::string &text)
FIXME_docs.
Rw11Cpu * fpCpu
cpu back pointer
virtual ~Rw11Cntl()
Destructor.
int fLam
attn bit number (-1 of none)
uint32_t fTraceLevel
trace level; 0=off;1=cntl
std::string fType
controller type
RlinkCommandList fPrimClist
clist for attn primary info
void SetEnable(bool ena)
FIXME_docs.
virtual void UnitSetup(size_t ind)
FIXME_docs.
Rw11Probe fProbe
controller probe context
std::string UnitName(size_t index) const
FIXME_docs.
Rw11Cpu & Cpu() const
FIXME_docs.
void ConfigCntl(const std::string &name, uint16_t base, int lam, uint16_t probeoff, bool probeint, bool proberem)
FIXME_docs.
virtual bool BootCode(size_t unit, std::vector< uint16_t > &code, uint16_t &aload, uint16_t &astart)
FIXME_docs.
bool fStarted
true if Start() called
std::string fName
controller name
virtual void Start()
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
virtual void UnitSetupAll()
FIXME_docs.
Rw11Cntl()
default ctor blocker
virtual bool Probe()
FIXME_docs.
virtual size_t NUnit() const =0
uint16_t fBase
controller base address
bool ProbeCntl(Rw11Probe &dsc)
FIXME_docs.
RosPrintfS< bool > RosPrintf(bool value, const char *form=0, int width=0, int prec=0)
Creates a print object for the formatted output of a bool value.
Declaration of class ReventLoop.
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.