21#ifndef included_Retro_Rw11CntlLP11
22#define included_Retro_Rw11CntlLP11 1
35 void Config(
const std::string& name, uint16_t base,
int lam);
42 uint16_t
Rlim()
const;
44 uint16_t
Itype()
const;
48 virtual void Dump(std::ostream& os,
int ind=0,
const char* text=0,
55 static const uint16_t
kCSR = 000;
56 static const uint16_t
kBUF = 002;
static const uint16_t kWBit15
Implemenation (inline) of Rw11CntlBase.
static const uint16_t kBUF_B_FUSE
buf.fuse bit mask
virtual void Start()
FIXME_docs.
uint16_t fItype
interface type
static const uint16_t kBUF_M_DATA
buf data mask
static const uint16_t kCSR
CSR reg offset.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
uint16_t FifoSize() const
FIXME_docs.
void SetRlim(uint16_t rlim)
FIXME_docs.
static const uint16_t kBUF_M_VAL
buf.val mask
uint16_t fRlim
interrupt rate limit
static const int kLam
LP11 default lam.
uint16_t Itype() const
FIXME_docs.
virtual void UnitSetup(size_t ind)
FIXME_docs.
bool Buffered() const
FIXME_docs.
uint16_t fRblkSize
rblk chunk size
static const uint16_t kIbaddr
LP11 default address.
uint16_t Rlim() const
FIXME_docs.
bool fQueBusy
rcv queue busy
int AttnHandler(RlinkServer::AttnArgs &args)
FIXME_docs.
static const uint16_t kCSR_V_RLIM
csr.rlim shift
void Config(const std::string &name, uint16_t base, int lam)
FIXME_docs.
static const bool kProbeRem
probr rem active
static const bool kProbeInt
probe int active
static const uint16_t kCSR_M_ERROR
csr.err mask
static const uint16_t kCSR_B_TYPE
csr.type bit mask
void WriteChar(uint8_t ochr)
FIXME_docs.
Rw11CntlLP11()
Default constructor.
~Rw11CntlLP11()
Destructor.
static const uint16_t kFifoMaxSize
maximal fifo size
static const uint16_t kProbeOff
probe address offset (rcsr)
void ProcessBuf(const RlinkCommand &cmd, bool prim)
FIXME_docs.
static const uint16_t kBUF
BUF reg offset.
static const uint16_t kCSR_B_RLIM
csr.rlim bit mask
size_t fPC_buf
PrimClist: buf index.
static const uint16_t kCSR_V_TYPE
csr.type shift
void ProcessUnbuf(uint16_t buf)
FIXME_docs.
static const uint16_t kBUF_V_FUSE
buf.fuse shift
int RcvHandler()
FIXME_docs.
@ kStatNNull
send null char
Declaration of class ReventLoop.