TwiceAsNice  2019-02-18
Macros | Typedefs | Enumerations | Functions
USB2ST4_Conv.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define USB2ST4_API
 
#define USB2ST4_ID_MAX   128
 

Typedefs

typedef enum USB2ST4_DIRECTION USB2ST4_DIRECTION
 
typedef enum _USB2ST4_ERROR_CODE USB2ST4_ERROR_CODE
 

Enumerations

enum  USB2ST4_DIRECTION { USB2ST4_NORTH =0, USB2ST4_SOUTH, USB2ST4_EAST, USB2ST4_WEST }
 
enum  _USB2ST4_ERROR_CODE {
  USB2ST4_SUCCESS = 0, USB2ST4_ERROR_INVALID_INDEX, USB2ST4_ERROR_INVALID_ID, USB2ST4_ERROR_INVALID_VALUE,
  USB2ST4_ERROR_REMOVED, USB2ST4_ERROR_ERROR_STATE, USB2ST4_ERROR_GENERAL_ERROR, USB2ST4_ERROR_CLOSED,
  USB2ST4_ERROR_END = -1
}
 

Functions

USB2ST4_API int USB2ST4GetNum ()
 
USB2ST4_API int USB2ST4GetProductIDs (int *pPIDs)
 
USB2ST4_API USB2ST4_ERROR_CODE USB2ST4GetID (int index, int *ID)
 
USB2ST4_API USB2ST4_ERROR_CODE USB2ST4IsOpened (int ID)
 
USB2ST4_API USB2ST4_ERROR_CODE USB2ST4Open (int ID)
 
USB2ST4_API USB2ST4_ERROR_CODE USB2ST4PulseGuide (int ID, USB2ST4_DIRECTION Dirction, bool bSet)
 
USB2ST4_API USB2ST4_ERROR_CODE USB2ST4Close (int ID)
 

Macro Definition Documentation

◆ USB2ST4_API

#define USB2ST4_API

◆ USB2ST4_ID_MAX

#define USB2ST4_ID_MAX   128

Typedef Documentation

◆ USB2ST4_DIRECTION

◆ USB2ST4_ERROR_CODE

Enumeration Type Documentation

◆ _USB2ST4_ERROR_CODE

Enumerator
USB2ST4_SUCCESS 
USB2ST4_ERROR_INVALID_INDEX 
USB2ST4_ERROR_INVALID_ID 
USB2ST4_ERROR_INVALID_VALUE 
USB2ST4_ERROR_REMOVED 
USB2ST4_ERROR_ERROR_STATE 
USB2ST4_ERROR_GENERAL_ERROR 
USB2ST4_ERROR_CLOSED 
USB2ST4_ERROR_END 

◆ USB2ST4_DIRECTION

Enumerator
USB2ST4_NORTH 
USB2ST4_SOUTH 
USB2ST4_EAST 
USB2ST4_WEST 

Function Documentation

◆ USB2ST4Close()

USB2ST4_API USB2ST4_ERROR_CODE USB2ST4Close ( int  ID)

◆ USB2ST4GetID()

USB2ST4_API USB2ST4_ERROR_CODE USB2ST4GetID ( int  index,
int *  ID 
)

◆ USB2ST4GetNum()

USB2ST4_API int USB2ST4GetNum ( )

◆ USB2ST4GetProductIDs()

USB2ST4_API int USB2ST4GetProductIDs ( int *  pPIDs)

◆ USB2ST4IsOpened()

USB2ST4_API USB2ST4_ERROR_CODE USB2ST4IsOpened ( int  ID)

◆ USB2ST4Open()

USB2ST4_API USB2ST4_ERROR_CODE USB2ST4Open ( int  ID)

◆ USB2ST4PulseGuide()

USB2ST4_API USB2ST4_ERROR_CODE USB2ST4PulseGuide ( int  ID,
USB2ST4_DIRECTION  Dirction,
bool  bSet 
)