All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.arcsinc.hardwarehost.HdwComm

public interface HdwComm
The interface interface provides the hardware-independent mechanism for accessing hardware.


Method Index

 o downloadCode(int, int[], int[][])
Download code to the hardware.
 o getFloat(int)
Get a float at hardware memory location, address
 o getf="#getFloatBlock(int, int)">getFloatBlock(int, int)
Get an array of floats starting at hardware memory location, address, with a range, blkLength.
 o getFloatPtr(int, int)
Get a float pointed to by the value at hardware memory location, address.
 o getInteger(int)
Get an integer at hardware memory location, ion, address
 o getIntegerBlock(int, int)
Get an array of integers starting at hardware memory location, address, with a range, blkLength.
 o getIntegerPtr(int, int)
Get an integer pointed to by the value at hardware memory location, address.
 o getVerifyMessages(int, int)
Provide a corresponding textual message for a call verifyComm
 o processCmd(HdwCmd)
Send the hdwCmd to the hardware, retrieve any expected return data.
 o rebootHdw()
Commands a hardware reboot.
 o setFloat(int, float)
Set a float at hardware memory location, address, with value, value.code>value.
 o setFloatBlock(int, float[])
Set an array of floats starting at hardware memory location, address, with value, value.
 o setFloatPtr(int, int, float)
Set a float pointed to by the value at hardware memory location, address, with value, value.
 o setInteger(int, int)
Set an integer at hardware memory location, address, with value, value.
 o setIntegerBlock(int, int[])
Set an array of integers starting at hardware memory location, address, with value, value.
 o setIntegerPtr(int, int, int)
Set an integer pointed to by the value at hardware memory location, address, with value, value.
 oeight=6 alt= verifyComm(int)
Provides a detailed test and verification of the communications with the hardware.

Methods

 o rebootHdw
 public abstract boolean rebootHdw()
Commands a hardware reboot.

Returns:
true if successfully completed.
 o verifyComm
 public abstract int verifyComm(int level)
Provides a detailed test and verification of the communications with the hardware.

Parameters:
level - level of the diagnostic
Returns:
the number of attempts for success or a failure/diagnostic code.
 o getVerifyMessages
 public abstract String[] getVerifyMessages(int level,
                                            int code)
Provide a corresponding textual message fo Provide a corresponding textual message for a call verifyComm

Parameters:
level - passed to verifyComm
code - returned from verifyComm
Returns:
message
 o setInteger
 public abstract void setInteger(int address,
                                 int value)
Set an integer at hardware memory location, address, with value, value.

Parameters:
address - memory location
value - value to be set
 o getInteger
 public abstract int getInteger(int address)
Get an integer at hardware memory location, address

Parameters:
address - memory location
Returns:
its value
 o setIntegerBlock
 public abstract void setIntegerBlock(int address,
                                      int values[])

Set an array of integers starting at hardware memory location, address, with value, value.

Parameters:
address - starting memory location
values - values to be set
 o getIntegerBlock
 public abstract int[] getIntegerBlock(int address,
                                       int blkLength)
Get an array of integers starting at hardware memory location, address, with a range, blkLength.

Parameters:
address - starting memory location
blkLength - number of locations to be retrieved
Returns:
values
 o setIntegerPtr
 public abstract void setIntegerPtr(int address,
                                    int offset,
                                    int value)
Set an integer pointed to by the value at hardware memory location, address, with value, value.

Parameters:
address - pointer memory location
offset - an additional offset to the pointer value.
value - value to be set
 o getIntegerPtr
 public abstract int ge>
 public abstract int getIntegerPtr(int address,
                                   int offset)
Get an integer pointed to by the value at hardware memory location, address.

Parameters:
address - pointer memory location
offset - an additional offset to the pointer value.
Returns:
its value
 o setFloat
 public abstract void setFloat(int oid setFloat(int address,
                               float value)
Set a float at hardware memory location, address, with value, value.

Parameters:
address - memory location
value - value to be set
 o getFloat
 public abstract float getFloat(int address)
Get a float at hardware memory location, address

Parameters:
address - memory location
Returns:
its value
 o setFloatBlock
 public abstract void setFloatBlock(int address,
                                    float values[])
Set an array of floats starting at hardware memory location, address, with value, value.

Parameters:
address - starting memory location
values - values to be set
 o getFloatBlock
 public abstract floaatBlock
 public abstract float[] getFloatBlock(int address,
                                       int range)
Get an array of floats starting at hardware memory location, address, with a range, blkLength.

Parameters:
address - starting memory location
range - number of locations to be retrieved
Returns:
values
 o setFloatPtrloatPtr
 public abstract void setFloatPtr(int address,
                                  int offset,
                                  float value)
Set a float pointed to by the value at hardware memory location, address, with value, value.

Parameters:
address - pointer memory location
offset - an additional offset to the pointer value.
value - value to be set
 o getFloatPtr
 public abstract float getFloatPtr(int address,
                                   int offset)
Get a float pointed to by the value at hardware memory location, address.

Parameters:
address - pointer memory location
offset - an additional offset to the pointer value.
Returns:
its value
 o downloadCode
 public abstract void downloadCode(int entryPtr,
                                   int sectionAddr[],
                                   int sectionData[][])
Download code to the hardwar
Download code to the hardware.

Parameters:
entryPtr - starting address for code execution
sectionAddr - starting address for each loadable section of the application
sectionData - each loadable section
 o processCmd
 public abstract void processCmd(HdwCmd hdwCmd)
Send the hdwCmdhdwCmd to the hardware, retrieve any expected return data.

Parameters:
hdwCmd - the command

All Packages  Class Hierarchy  This Package  Previous  Next  Index
>