|
|
|
|
|
|
|
||
|
||
|
|
||
May 1999 |
Revision 1.00 |
|
Persistor Instruments Inc. |
© 1998 All rights reserved. |
|
![]()
#define SCS_STD_MAX_DEVS 32 // max to use standard tables
typedef union { struct { ushort id; ushort sn; }; ulong ref; } SCSDevice;
#define SCS_ALL_DEVS_REF 0xFFFFFFFF // special value to reference all devices
enum
{
scsNoErr = 0x00000000
, scsIsReady = 0x00000000 // from SCSReady()
, scsNotReady = 0xFFFFFFFF // not ready, and told not to wait
, scsNoResponse = 0xFFFFFFFE // did not receive proper response
};
typedef enum { SCSAD2, SCSAD3 } SCS_ADCH; // for A-D reads
Description
|
Prototype: |
short SCSInit(params); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
none |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSReady(ulong scsref, bool wait); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSIndentify(ulong scsref, bool wait, short index, bool confirm); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSReset(ulong scsref, bool wait); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSDeactivate(ulong scsref, bool wait); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSPinsSet(ulong scsref, bool wait, uchar setmask); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSPinsClear(ulong scsref, bool wait, uchar clearmask); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSPinsRead(ulong scsref, bool wait, uchar inputmask); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
Description
|
Prototype: |
ulong SCSAnalogRead (ulong scsref, bool wait, SCS_ADCH ch); |
|
Definition: |
#include <cf1pico.h> |
|
Inputs: |
scsref XXXXX |
|
Returns: |
XXXXX |
|
Notes: |
XXXXX |
|
Timing: |
TBD |
|
|
|
|
|
|
Tel: 508-759-6434 |
|
Fax: 508-759-6436 |
|
|
||