w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rw11CntlDZ11.hpp>
Public Types | |
enum | stats { kStatNRxBlk = Rw11Cntl::kDimStat , kStatNTxQue , kStatNCalDtr , kStatNCalBrk , kStatNCalRxon , kStatNCalCsr , kStatNCalBad , kStatNDropMse , kStatNDropMaint , kStatNDropRxon , kDimStat } |
Public Types inherited from Retro::Rw11Cntl | |
enum | stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat } |
Public Member Functions | |
Rw11CntlDZ11 () | |
Default constructor. | |
~Rw11CntlDZ11 () | |
Destructor. | |
void | Config (const std::string &name, uint16_t base, int lam) |
FIXME_docs. | |
virtual void | Start () |
FIXME_docs. | |
virtual void | UnitSetup (size_t ind) |
FIXME_docs. | |
virtual void | UnitSetupAll () |
FIXME_docs. | |
void | Wakeup () |
FIXME_docs. | |
void | SetRxQlim (uint16_t qlim) |
FIXME_docs. | |
uint16_t | RxQlim () const |
FIXME_docs. | |
void | SetRxRlim (uint16_t rlim) |
FIXME_docs. | |
uint16_t | RxRlim () const |
FIXME_docs. | |
void | SetTxRlim (uint16_t rlim) |
FIXME_docs. | |
uint16_t | TxRlim () const |
FIXME_docs. | |
void | SetModCntl (bool modcntl) |
FIXME_docs. | |
bool | ModCntl () const |
FIXME_docs. | |
uint16_t | Itype () const |
FIXME_docs. | |
bool | Buffered () const |
FIXME_docs. | |
uint16_t | FifoSize () const |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Public Member Functions inherited from Retro::Rw11CntlBase< Rw11UnitDZ11, 8 > | |
Rw11CntlBase (const std::string &type) | |
Constructor. | |
~Rw11CntlBase () | |
Destructor. | |
virtual size_t | NUnit () const |
FIXME_docs. | |
virtual Rw11Unit & | UnitBase (size_t index) const |
FIXME_docs. | |
Rw11UnitDZ11 & | Unit (size_t index) const |
FIXME_docs. | |
const std::shared_ptr< Rw11UnitDZ11 > & | UnitSPtr (size_t index) const |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Public Member Functions inherited from Retro::Rw11Cntl | |
Rw11Cntl (const std::string &type) | |
Constructor. | |
virtual | ~Rw11Cntl () |
Destructor. | |
Rw11Cntl (const Rw11Cntl &)=delete | |
Rw11Cntl & | operator= (const Rw11Cntl &)=delete |
void | SetCpu (Rw11Cpu *pcpu) |
FIXME_docs. | |
Rw11Cpu & | Cpu () const |
FIXME_docs. | |
Rw11 & | W11 () const |
FIXME_docs. | |
RlinkServer & | Server () const |
FIXME_docs. | |
RlinkConnect & | Connect () const |
FIXME_docs. | |
RlogFile & | LogFile () const |
FIXME_docs. | |
const std::string & | Type () const |
FIXME_docs. | |
const std::string & | Name () const |
FIXME_docs. | |
uint16_t | Base () const |
FIXME_docs. | |
int | Lam () const |
FIXME_docs. | |
void | SetEnable (bool ena) |
FIXME_docs. | |
bool | Enable () const |
FIXME_docs. | |
virtual bool | Probe () |
FIXME_docs. | |
bool | ProbeFound () const |
FIXME_docs. | |
uint16_t | ProbeDataInt () const |
FIXME_docs. | |
uint16_t | ProbeDataRem () const |
FIXME_docs. | |
const Rw11Probe & | ProbeStatus () const |
FIXME_docs. | |
virtual void | Start () |
FIXME_docs. | |
bool | IsStarted () const |
FIXME_docs. | |
virtual size_t | NUnit () const =0 |
virtual Rw11Unit & | UnitBase (size_t index) const =0 |
virtual bool | BootCode (size_t unit, std::vector< uint16_t > &code, uint16_t &aload, uint16_t &astart) |
FIXME_docs. | |
virtual void | UnitSetup (size_t ind) |
FIXME_docs. | |
virtual void | UnitSetupAll () |
FIXME_docs. | |
void | SetTraceLevel (uint32_t level) |
FIXME_docs. | |
uint32_t | TraceLevel () const |
FIXME_docs. | |
std::string | UnitName (size_t index) const |
FIXME_docs. | |
Rstats & | Stats () |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Static Public Attributes | |
static const uint16_t | kIbaddr = 0160100 |
DZ11 default address. | |
static const int | kLam = 3 |
DZ11 default lam. | |
static const uint16_t | kCNTL = 000 |
CNTL and CSR reg offset. | |
static const uint16_t | kSTAT = 002 |
STAT and RBUF/LPR reg offset. | |
static const uint16_t | kFUSE = 004 |
FUSE and TCR reg offset. | |
static const uint16_t | kFDAT = 006 |
FDAT and TDR/MSR reg offset. | |
static const uint16_t | kProbeOff = kCNTL |
probe address offset (cntl) | |
static const bool | kProbeInt = true |
probe int active | |
static const bool | kProbeRem = true |
probr rem active | |
static const uint16_t | kFifoMaxSize = 127 |
maximal fifo size | |
static const uint16_t | kCNTL_V_AWDTH = 8 |
cntl.awdth shift | |
static const uint16_t | kCNTL_B_AWDTH = 0007 |
cntl.awdth bit mask | |
static const uint16_t | kCNTL_V_SSEL = 3 |
cntl.ssel shift | |
static const uint16_t | kCNTL_B_SSEL = 0003 |
cntl.ssel bit mask | |
static const uint16_t | kCNTL_M_MSE = kWBit02 |
cntl.mse mask | |
static const uint16_t | kCNTL_M_MAINT = kWBit01 |
cntl.maint mask | |
static const uint16_t | kCNTL_V_DATA = 8 |
cntl.data shift | |
static const uint16_t | kCNTL_B_DATA = 0377 |
cntl.data bit mask | |
static const uint16_t | kCNTL_V_RRLIM = 12 |
cntl.rrlim shift | |
static const uint16_t | kCNTL_B_RRLIM = 0007 |
cntl.rrlim bit mask | |
static const uint16_t | kCNTL_V_TRLIM = 8 |
cntl.trlim shift | |
static const uint16_t | kCNTL_B_TRLIM = 0007 |
cntl.trlim bit mask | |
static const uint16_t | kCNTL_M_RCLR = kWBit06 |
cntl.rclr mask | |
static const uint16_t | kCNTL_M_TCLR = kWBit05 |
cntl.rclr mask | |
static const uint16_t | kCNTL_M_FUNC = 0007 |
cntl.func mask | |
static const uint16_t | kSSEL_DTLE = 0 |
static const uint16_t | kSSEL_BRRK = 1 |
static const uint16_t | kSSEL_CORI = 2 |
static const uint16_t | kSSEL_RLCN = 3 |
static const uint16_t | kFUNC_NOOP = 0 |
static const uint16_t | kFUNC_SCO = 1 |
static const uint16_t | kFUNC_SRING = 2 |
static const uint16_t | kFUNC_SRLIM = 3 |
static const uint16_t | kCAL_DTR = 0 |
static const uint16_t | kCAL_BRK = 1 |
static const uint16_t | kCAL_RXON = 2 |
static const uint16_t | kCAL_CSR = 3 |
static const uint16_t | kFUSE_V_RFUSE = 8 |
rfuse shift | |
static const uint16_t | kFUSE_B_RFUSE = 0177 |
rfuse bit mask | |
static const uint16_t | kFUSE_M_TFUSE = 0177 |
tfuse mask | |
static const uint16_t | kFDAT_M_VAL = kWBit15 |
fdat.val mask | |
static const uint16_t | kFDAT_M_LAST = kWBit14 |
fdat.last mask | |
static const uint16_t | kFDAT_M_FERR = kWBit13 |
fdat.ferr mask | |
static const uint16_t | kFDAT_M_CAL = kWBit11 |
fdat.cal mask | |
static const uint16_t | kFDAT_V_LINE = 8 |
fdat.line shift | |
static const uint16_t | kFDAT_B_LINE = 0007 |
fdat.line bit mask | |
static const uint16_t | kFDAT_M_BUF = 0xFF |
fdat.buf mask | |
static const uint16_t | kCALCSR_M_MSE = kWBit05 |
fdat_cal.mse mask | |
static const uint16_t | kCALCSR_M_CLR = kWBit04 |
fdat_cal.clr mask | |
static const uint16_t | kCALCSR_M_MAINT = kWBit03 |
fdat_cal.maint mask | |
Static Public Attributes inherited from Retro::Rw11CntlBase< Rw11UnitDZ11, 8 > | |
static const size_t | kNUnit |
number of units | |
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 | |
int | AttnHandler (RlinkServer::AttnArgs &args) |
FIXME_docs. | |
void | RxProcess (uint16_t fuse) |
FIXME_docs. | |
void | TxProcess (const RlinkCommand &cmd, bool prim, uint16_t fuse) |
FIXME_docs. | |
int | TxRcvHandler () |
FIXME_docs. | |
bool | NextBusyRxUnit () |
FIXME_docs. | |
Protected Member Functions inherited from Retro::Rw11Cntl | |
void | ConfigCntl (const std::string &name, uint16_t base, int lam, uint16_t probeoff, bool probeint, bool proberem) |
FIXME_docs. | |
Protected Attributes | |
size_t | fPC_fdat |
PrimClist: fdat index. | |
size_t | fPC_fuse |
PrimClist: fuse index. | |
uint16_t | fRxQlim |
rx queue limit | |
uint16_t | fRxRlim |
rx interrupt rate limit | |
uint16_t | fTxRlim |
tx interrupt rate limit | |
bool | fModCntl |
modem control enable | |
uint16_t | fItype |
interface type | |
uint16_t | fFsize |
fifo size | |
uint16_t | fTxRblkSize |
tx rblk chunk size | |
bool | fTxQueBusy |
tx queue busy | |
size_t | fRxCurUnit |
rx current unit | |
uint16_t | fLastFuse |
last seen fuse | |
uint8_t | fCurDtr |
current dtr | |
uint8_t | fCurBrk |
current brk | |
uint8_t | fCurRxon |
current rxon | |
uint8_t | fCurCsr |
current csr | |
Protected Attributes inherited from Retro::Rw11CntlBase< Rw11UnitDZ11, 8 > | |
std::shared_ptr< Rw11UnitDZ11 > | fspUnit [NU] |
Protected Attributes inherited from Retro::Rw11Cntl | |
Rw11Cpu * | fpCpu |
cpu back pointer | |
std::string | fType |
controller type | |
std::string | fName |
controller name | |
uint16_t | fBase |
controller base address | |
int | fLam |
attn bit number (-1 of none) | |
bool | fEnable |
enable flag | |
bool | fStarted |
true if Start() called | |
Rw11Probe | fProbe |
controller probe context | |
uint32_t | fTraceLevel |
trace level; 0=off;1=cntl | |
RlinkCommandList | fPrimClist |
clist for attn primary info | |
Rstats | fStats |
statistics | |
FIXME_docs.
Definition at line 24 of file Rw11CntlDZ11.hpp.
Definition at line 119 of file Rw11CntlDZ11.hpp.
Retro::Rw11CntlDZ11::Rw11CntlDZ11 | ( | ) |
Default constructor.
Definition at line 106 of file Rw11CntlDZ11.cpp.
References Retro::Rstats::Define(), Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::fspUnit, Retro::Rw11Cntl::fStats, kStatNCalBad, kStatNCalBrk, kStatNCalCsr, kStatNCalDtr, kStatNCalRxon, kStatNDropMaint, kStatNDropMse, kStatNDropRxon, kStatNRxBlk, kStatNTxQue, and Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::NUnit().
Retro::Rw11CntlDZ11::~Rw11CntlDZ11 | ( | ) |
Destructor.
Definition at line 145 of file Rw11CntlDZ11.cpp.
void Retro::Rw11CntlDZ11::Config | ( | const std::string & | name, |
uint16_t | base, | ||
int | lam | ||
) |
FIXME_docs.
Definition at line 151 of file Rw11CntlDZ11.cpp.
References Retro::Rw11Cntl::ConfigCntl(), kProbeInt, kProbeOff, and kProbeRem.
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 160 of file Rw11CntlDZ11.cpp.
References Retro::RlinkCommandList::AddAttn(), Retro::RlinkServer::AddAttnHandler(), Retro::Rw11Cpu::AddRbibr(), Retro::Rw11Cpu::AddRibr(), Retro::Rw11Cpu::AllIAddrMapInsert(), AttnHandler(), Retro::Rw11Cntl::Base(), Retro::RlinkCommandList::Clear(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Probe::DataRem(), Retro::Rw11Cpu::ExecWibr(), Retro::Rw11Cntl::fBase, Retro::Rw11Cntl::fEnable, fFsize, fItype, Retro::Rw11Cntl::fLam, Retro::Rw11Probe::Found(), fPC_fdat, fPC_fuse, Retro::Rw11Cntl::fPrimClist, Retro::Rw11Cntl::fProbe, fRxQlim, Retro::Rw11Cntl::fStarted, fTxRblkSize, kCNTL, kCNTL_B_AWDTH, kCNTL_M_RCLR, kCNTL_M_TCLR, kCNTL_V_AWDTH, kFDAT, kFUSE, kSTAT, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, Retro::Rw11Cntl::Name(), Retro::Rw11Cntl::Server(), and UnitSetupAll().
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 200 of file Rw11CntlDZ11.cpp.
References UnitSetupAll().
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 209 of file Rw11CntlDZ11.cpp.
References Retro::Rw11Cntl::Cpu(), Retro::Rw11Cpu::ExecWibr(), Retro::Rw11Cntl::fBase, fModCntl, fRxRlim, Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::fspUnit, fTxRlim, kCNTL, kCNTL_B_RRLIM, kCNTL_B_TRLIM, kCNTL_V_DATA, kCNTL_V_RRLIM, kCNTL_V_TRLIM, kFUNC_SCO, kFUNC_SRLIM, and Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::NUnit().
Referenced by SetModCntl(), SetRxRlim(), SetTxRlim(), Start(), and UnitSetup().
void Retro::Rw11CntlDZ11::Wakeup | ( | ) |
FIXME_docs.
Definition at line 232 of file Rw11CntlDZ11.cpp.
References Retro::Rw11Cntl::Cpu(), Retro::Rw11Cpu::ExecRibr(), Retro::Rw11Cntl::fBase, fFsize, fLastFuse, kFUSE, kFUSE_B_RFUSE, kFUSE_V_RFUSE, and RxProcess().
void Retro::Rw11CntlDZ11::SetRxQlim | ( | uint16_t | qlim | ) |
FIXME_docs.
Definition at line 248 of file Rw11CntlDZ11.cpp.
References fFsize, and fRxQlim.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 21 of file Rw11CntlDZ11.ipp.
References fRxQlim.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
void Retro::Rw11CntlDZ11::SetRxRlim | ( | uint16_t | rlim | ) |
FIXME_docs.
Definition at line 262 of file Rw11CntlDZ11.cpp.
References fRxRlim, kCNTL_B_RRLIM, and UnitSetupAll().
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 29 of file Rw11CntlDZ11.ipp.
References fRxRlim.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
void Retro::Rw11CntlDZ11::SetTxRlim | ( | uint16_t | rlim | ) |
FIXME_docs.
Definition at line 275 of file Rw11CntlDZ11.cpp.
References fTxRlim, kCNTL_B_TRLIM, and UnitSetupAll().
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 37 of file Rw11CntlDZ11.ipp.
References fTxRlim.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
void Retro::Rw11CntlDZ11::SetModCntl | ( | bool | modcntl | ) |
FIXME_docs.
Definition at line 288 of file Rw11CntlDZ11.cpp.
References fModCntl, and UnitSetupAll().
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 45 of file Rw11CntlDZ11.ipp.
References fModCntl.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 53 of file Rw11CntlDZ11.ipp.
References fItype.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 61 of file Rw11CntlDZ11.ipp.
References fFsize.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
inline |
FIXME_docs.
Definition at line 69 of file Rw11CntlDZ11.ipp.
References fFsize.
Referenced by Retro::RtclRw11CntlDZ11::RtclRw11CntlDZ11().
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >.
Definition at line 298 of file Rw11CntlDZ11.cpp.
References Retro::Rw11CntlBase< TU, NU >::Dump(), fCurBrk, fCurCsr, fCurDtr, fCurRxon, fFsize, fItype, fLastFuse, fModCntl, fPC_fdat, fPC_fuse, fRxCurUnit, fRxQlim, fRxRlim, fTxQueBusy, fTxRblkSize, fTxRlim, kCALCSR_M_MAINT, kCALCSR_M_MSE, and Retro::RosPrintf().
|
protected |
FIXME_docs.
Definition at line 329 of file Rw11CntlDZ11.cpp.
References fLastFuse, fPC_fdat, fPC_fuse, Retro::Rw11Cntl::fPrimClist, Retro::Rw11Cntl::fStats, Retro::RlinkServer::GetAttnInfo(), Retro::Rstats::Inc(), Retro::Rw11Cntl::kStatNAttnHdl, RxProcess(), Retro::Rw11Cntl::Server(), and TxProcess().
Referenced by Start().
|
protected |
FIXME_docs.
Definition at line 344 of file Rw11CntlDZ11.cpp.
References Retro::Rw11Cpu::AddRibr(), Retro::Rw11Cpu::AddWbibr(), Retro::Rw11Cntl::Cpu(), Retro::RlinkServer::Exec(), Retro::Rw11Cntl::fBase, fCurCsr, fCurRxon, fLastFuse, fRxCurUnit, fRxQlim, Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::fspUnit, Retro::Rw11Cntl::fStats, Retro::Rw11Cntl::fTraceLevel, Retro::Rstats::Inc(), kCALCSR_M_MAINT, kCALCSR_M_MSE, kFDAT, kFDAT_B_LINE, kFDAT_V_LINE, kFUSE, kFUSE_B_RFUSE, kFUSE_V_RFUSE, kStatNDropMaint, kStatNDropMse, kStatNDropRxon, kStatNRxBlk, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), NextBusyRxUnit(), Retro::RosPrintf(), Retro::Rw11Cntl::Server(), and Retro::RtraceTools::TraceBuffer().
Referenced by AttnHandler(), and Wakeup().
|
protected |
FIXME_docs.
Definition at line 398 of file Rw11CntlDZ11.cpp.
References Retro::RlinkCommand::BlockDone(), Retro::RlinkCommand::BlockPointer(), Retro::RlinkCommand::BlockSize(), fCurBrk, fCurCsr, fCurDtr, fCurRxon, fFsize, fPC_fdat, Retro::Rw11Cntl::fPrimClist, Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::fspUnit, Retro::Rw11Cntl::fStats, Retro::Rw11Cntl::fTraceLevel, fTxQueBusy, fTxRblkSize, Retro::Rstats::Inc(), kCAL_BRK, kCAL_CSR, kCAL_DTR, kCAL_RXON, kCALCSR_M_CLR, kCALCSR_M_MAINT, kCALCSR_M_MSE, kFDAT_B_LINE, kFDAT_M_BUF, kFDAT_M_CAL, kFDAT_M_FERR, kFDAT_M_LAST, kFDAT_V_LINE, kFifoMaxSize, kFUSE_B_RFUSE, kFUSE_M_TFUSE, kFUSE_V_RFUSE, Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::kNUnit, kStatNCalBad, kStatNCalBrk, kStatNCalCsr, kStatNCalDtr, kStatNCalRxon, kStatNTxQue, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::RlinkServer::QueueAction(), Retro::RosPrintf(), Retro::Rw11Cntl::Server(), Retro::RtraceTools::TraceBuffer(), and TxRcvHandler().
Referenced by AttnHandler(), and TxRcvHandler().
|
protected |
FIXME_docs.
Definition at line 520 of file Rw11CntlDZ11.cpp.
References Retro::Rw11Cpu::AddRbibr(), Retro::Rw11Cpu::AddRibr(), Retro::Rw11Cntl::Cpu(), Retro::RlinkServer::Exec(), Retro::Rw11Cntl::fBase, fLastFuse, fTxQueBusy, fTxRblkSize, kFDAT, kFUSE, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, Retro::Rw11Cntl::Server(), and TxProcess().
Referenced by TxProcess().
|
protected |
FIXME_docs.
Definition at line 540 of file Rw11CntlDZ11.cpp.
References fRxCurUnit, Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::fspUnit, and Retro::Rw11CntlBase< Rw11UnitDZ11, 8 >::NUnit().
Referenced by RxProcess().
|
static |
DZ11 default address.
Definition at line 55 of file Rw11CntlDZ11.hpp.
Referenced by Retro::RtclRw11CntlDZ11::FactoryCmdConfig().
|
static |
DZ11 default lam.
Definition at line 56 of file Rw11CntlDZ11.hpp.
Referenced by Retro::RtclRw11CntlDZ11::FactoryCmdConfig().
|
static |
CNTL and CSR reg offset.
Definition at line 58 of file Rw11CntlDZ11.hpp.
Referenced by Start(), and UnitSetupAll().
|
static |
STAT and RBUF/LPR reg offset.
Definition at line 59 of file Rw11CntlDZ11.hpp.
Referenced by Start().
|
static |
FUSE and TCR reg offset.
Definition at line 60 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), Start(), TxRcvHandler(), and Wakeup().
|
static |
FDAT and TDR/MSR reg offset.
Definition at line 61 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), Start(), and TxRcvHandler().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
cntl.ssel shift
Definition at line 72 of file Rw11CntlDZ11.hpp.
|
static |
cntl.ssel bit mask
Definition at line 73 of file Rw11CntlDZ11.hpp.
|
static |
cntl.mse mask
Definition at line 74 of file Rw11CntlDZ11.hpp.
|
static |
cntl.maint mask
Definition at line 75 of file Rw11CntlDZ11.hpp.
|
static |
|
static |
cntl.data bit mask
Definition at line 78 of file Rw11CntlDZ11.hpp.
|
static |
|
static |
cntl.rrlim bit mask
Definition at line 80 of file Rw11CntlDZ11.hpp.
Referenced by SetRxRlim(), and UnitSetupAll().
|
static |
|
static |
cntl.trlim bit mask
Definition at line 82 of file Rw11CntlDZ11.hpp.
Referenced by SetTxRlim(), and UnitSetupAll().
|
static |
|
static |
|
static |
cntl.func mask
Definition at line 85 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 87 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 88 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 89 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 90 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 92 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 93 of file Rw11CntlDZ11.hpp.
Referenced by UnitSetupAll().
|
static |
Definition at line 94 of file Rw11CntlDZ11.hpp.
|
static |
Definition at line 95 of file Rw11CntlDZ11.hpp.
Referenced by UnitSetupAll().
|
static |
Definition at line 97 of file Rw11CntlDZ11.hpp.
Referenced by TxProcess().
|
static |
Definition at line 98 of file Rw11CntlDZ11.hpp.
Referenced by TxProcess().
|
static |
Definition at line 99 of file Rw11CntlDZ11.hpp.
Referenced by TxProcess().
|
static |
Definition at line 100 of file Rw11CntlDZ11.hpp.
Referenced by TxProcess().
|
static |
rfuse shift
Definition at line 102 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), TxProcess(), and Wakeup().
|
static |
rfuse bit mask
Definition at line 103 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), TxProcess(), and Wakeup().
|
static |
|
static |
fdat.val mask
Definition at line 106 of file Rw11CntlDZ11.hpp.
|
static |
|
static |
|
static |
|
static |
fdat.line shift
Definition at line 110 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), and TxProcess().
|
static |
fdat.line bit mask
Definition at line 111 of file Rw11CntlDZ11.hpp.
Referenced by RxProcess(), and TxProcess().
|
static |
|
static |
fdat_cal.mse mask
Definition at line 114 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxProcess(), and TxProcess().
|
static |
|
static |
fdat_cal.maint mask
Definition at line 116 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxProcess(), and TxProcess().
|
protected |
PrimClist: fdat index.
Definition at line 142 of file Rw11CntlDZ11.hpp.
Referenced by AttnHandler(), Dump(), Start(), and TxProcess().
|
protected |
PrimClist: fuse index.
Definition at line 143 of file Rw11CntlDZ11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
rx queue limit
Definition at line 144 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxProcess(), RxQlim(), SetRxQlim(), and Start().
|
protected |
rx interrupt rate limit
Definition at line 145 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxRlim(), SetRxRlim(), and UnitSetupAll().
|
protected |
tx interrupt rate limit
Definition at line 146 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), SetTxRlim(), TxRlim(), and UnitSetupAll().
|
protected |
modem control enable
Definition at line 147 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), ModCntl(), SetModCntl(), and UnitSetupAll().
|
protected |
interface type
Definition at line 148 of file Rw11CntlDZ11.hpp.
|
protected |
fifo size
Definition at line 149 of file Rw11CntlDZ11.hpp.
Referenced by Buffered(), Dump(), FifoSize(), SetRxQlim(), Start(), TxProcess(), and Wakeup().
|
protected |
tx rblk chunk size
Definition at line 150 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), Start(), TxProcess(), and TxRcvHandler().
|
protected |
tx queue busy
Definition at line 151 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), TxProcess(), and TxRcvHandler().
|
protected |
rx current unit
Definition at line 152 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), NextBusyRxUnit(), and RxProcess().
|
protected |
last seen fuse
Definition at line 153 of file Rw11CntlDZ11.hpp.
Referenced by AttnHandler(), Dump(), RxProcess(), TxRcvHandler(), and Wakeup().
|
protected |
|
protected |
|
protected |
current rxon
Definition at line 156 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxProcess(), and TxProcess().
|
protected |
current csr
Definition at line 157 of file Rw11CntlDZ11.hpp.
Referenced by Dump(), RxProcess(), and TxProcess().