faceException
- Resets the communications FIFO.
- Throws: ArcsInterfaceException
- upon
an interface error.
getHdwStatus
public abstract char getHdwStatus(int regNo) throws ArcsInterfaceException
- Gets the status word from one of the dedicated hardware status
registers.
- Parameters:
- regNo - the register number to address.
- Returns:
- a
char (16-bit word) with the result.
- Throws: ArcsInterfaceException
- upon
an interface error.
setHdwControl
public abstract void setHdwControl(int regNo,
char regValue) throws ArcsInterfaceException
- Sets the control word of one of the dedicated hardware control
registers.
< hardware control
registers.
- Parameters:
- regNo - the register number to address.
- regValue - value to set (16-bit word).
- Throws: ArcsInterfaceException
- upon
an interface error.error.
getHdwControl
public abstract char getHdwControl(int regNo) throws ArcsInterfaceException
- Gets the control word from one of the dedicated hardware control
registers.
- Parameters:
- regNo - the register number to address.
- Returns:
- a
char (16-bit word) with the result.
- Throws: ArcsInterfaceException
- upon
an interface error.
getFifoStatus
public abstract byte getFifoStatus() throws ArcsInterfaceException
- Get the FIFO status.
- Returns:
- FIFO status
- Throws: ArcsInterfaceException
- upon
an interface error.
getFifoCntSrcDsp
public abstract char getFifoCntSrcDsp() throws ArcsInterfaceException
- Get the number of words sent by the hardware still waiting to
be read by the host system.
- Returns:
- number of words (
char format).
- Throws: ArcsInterfaceException
- upon
an interface error.
error.
getFifoCntSrcPc
public abstract char getFifoCntSrcPc() throws ArcsInterfaceException
- Get the number of words sent by the host system still waiting to
be read by the hardware.
- Returns:
- number of words (
char format).
- Throws: ArcsInterfaceException
- upon
an interface error.
rcvWord16
public abstract char rcvWord16() throws ArcsCommException
- Get a 16-bit word from the hardware (through the FIFO).
- Returns:
- a word (
char format).
- Throws: ArcsCommException
- upon
a communications error.
sendWord16
d16">sendWord16
public abstract void sendWord16(char word16) throws ArcsCommException
- Send a 16-bit word to the hardware (through the FIFO).
- Parameters:
- word16 - a word (
char format).
- Throws: ArcsCommException
- upon
a communication error.
rcvWord32
public abstract int rcvWord32() throws ArcsCommException
- Get a 32-bit word from the hardware (through the FIFO).
- Returns:
- an
int.
- Throws: ArcsCommException
- upon
a communications error.
sendWord32
public abstract void sendWord32(int word32) throws ArcsCommException
- Send a 32-bit word to the hardware (through the FIFO).
- Parameters:
- word32 - an
int.
- Throws: ArcsCommException
- upon
a communication error.
rcvFloat
public abstract float rcvFloat() throws ArcsCommException
- Get a
float (32-bit) from the hardware (through
32-bit) from the hardware (through
the FIFO).
- Returns:
- a
float.
- Throws: ArcsCommException
- upon
a communications error.
sendFloat
public abstract void sendFloat(float value) throws ArcsCommException
- Send a
floatfloat (32-bit) to the hardware (through
the FIFO).
- Parameters:
- value - a
float.
- Throws: ArcsCommException
- upon
a communication error.
getInteger
public abstract int getInteger(char cmd,
int addr,
int offset) throws ArcsCommException
getFloat
public abstract float getFloat(char cmd,
int addr,
int offset) throws ArcsCommException
setInteger
public abstract void setInteger(char cmd,
int addr,
int offset,
int value) throws ArcsCommException
setFloat
public abstract void setFloat(char cmd,
int addr,
int offset,
float value) throws ArcsCommException
All Packages Class Hierarchy This Package Previous Next Index