Subversion Repositories f9daq

Rev

Rev 82 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 82 Rev 100
Line 52... Line 52...
52
#define  VME_read_32                       (*VME_read_32_Ptr)
52
#define  VME_read_32                       (*VME_read_32_Ptr)
53
#define  VME_BLT_read_32                   (*VME_BLT_read_32_Ptr)
53
#define  VME_BLT_read_32                   (*VME_BLT_read_32_Ptr)
54
#define  VME_write_16                      (*VME_write_16_Ptr)
54
#define  VME_write_16                      (*VME_write_16_Ptr)
55
#define  VME_write_32                      (*VME_write_32_Ptr)
55
#define  VME_write_32                      (*VME_write_32_Ptr)
56
 
56
 
57
short __stdcall xxusb_register_read(usb_dev_handle *hDev, short RegAddr, long *RegData);
57
extern short __stdcall xxusb_register_read(usb_dev_handle *hDev, short RegAddr, long *RegData);
58
short __stdcall xxusb_stack_read(usb_dev_handle *hDev, short StackAddr, long *StackData);
58
extern short __stdcall xxusb_stack_read(usb_dev_handle *hDev, short StackAddr, long *StackData);
59
short __stdcall xxusb_stack_write(usb_dev_handle *hDev, short StackAddr, long *StackData);
59
extern short __stdcall xxusb_stack_write(usb_dev_handle *hDev, short StackAddr, long *StackData);
60
short __stdcall xxusb_stack_execute(usb_dev_handle *hDev, long *StackData);
60
extern short __stdcall xxusb_stack_execute(usb_dev_handle *hDev, long *StackData);
61
short __stdcall xxusb_longstack_execute(usb_dev_handle *hDev, void *DataBuffer, int lDataLen, int timeout);
61
extern short __stdcall xxusb_longstack_execute(usb_dev_handle *hDev, void *DataBuffer, int lDataLen, int timeout);
62
short __stdcall xxusb_register_write(usb_dev_handle *hDev, short RegAddr, long RegData);
62
extern short __stdcall xxusb_register_write(usb_dev_handle *hDev, short RegAddr, long RegData);
63
short __stdcall xxusb_usbfifo_read(usb_dev_handle *hDev, long *DataBuffer, short lDataLen, int timeout);
63
extern short __stdcall xxusb_usbfifo_read(usb_dev_handle *hDev, long *DataBuffer, short lDataLen, int timeout);
64
short __stdcall xxusb_bulk_read(usb_dev_handle *hDev, char *DataBuffer, short lDataLen, int timeout);
64
extern short __stdcall xxusb_bulk_read(usb_dev_handle *hDev, char *DataBuffer, short lDataLen, int timeout);
65
short __stdcall xxusb_bulk_write(usb_dev_handle *hDev, char *DataBuffer, short lDataLen, int timeout);
65
extern short __stdcall xxusb_bulk_write(usb_dev_handle *hDev, char *DataBuffer, short lDataLen, int timeout);
66
short __stdcall xxusb_reset_toggle(usb_dev_handle *hDev);
66
extern short __stdcall xxusb_reset_toggle(usb_dev_handle *hDev);
67
 
67
 
68
short __stdcall xxusb_devices_find(xxusb_device_type *xxusbDev);
68
extern short __stdcall xxusb_devices_find(xxusb_device_type *xxusbDev);
69
short __stdcall xxusb_device_close(usb_dev_handle *hDev);
69
extern short __stdcall xxusb_device_close(usb_dev_handle *hDev);
70
usb_dev_handle* __stdcall xxusb_device_open(struct usb_device *dev);
70
extern usb_dev_handle* __stdcall xxusb_device_open(struct usb_device *dev);
71
short __stdcall xxusb_flash_program(usb_dev_handle *hDev, char *config, short nsect);
71
extern short __stdcall xxusb_flash_program(usb_dev_handle *hDev, char *config, short nsect);
72
short __stdcall xxusb_flashblock_program(usb_dev_handle *hDev, UCHAR *config);
72
extern short __stdcall xxusb_flashblock_program(usb_dev_handle *hDev, UCHAR *config);
73
usb_dev_handle* __stdcall xxusb_serial_open(char *SerialString);
73
extern usb_dev_handle* __stdcall xxusb_serial_open(char *SerialString);
74
 
74
 
75
short __stdcall VME_register_write(usb_dev_handle *hdev, long VME_Address, long Data);
75
extern short __stdcall VME_register_write(usb_dev_handle *hdev, long VME_Address, long Data);
76
short __stdcall VME_register_read(usb_dev_handle *hdev, long VME_Address, long *Data);
76
extern short __stdcall VME_register_read(usb_dev_handle *hdev, long VME_Address, long *Data);
77
short __stdcall VME_LED_settings(usb_dev_handle *hdev, int LED, int code, int invert, int latch);
77
extern short __stdcall VME_LED_settings(usb_dev_handle *hdev, int LED, int code, int invert, int latch);
78
 
78
 
79
short __stdcall VME_DGG(usb_dev_handle *hdev, unsigned short channel, unsigned short trigger,unsigned short output, long delay, unsigned short gate, unsigned short invert, unsigned short latch);
79
extern short __stdcall VME_DGG(usb_dev_handle *hdev, unsigned short channel, unsigned short trigger,unsigned short output, long delay, unsigned short gate, unsigned short invert, unsigned short latch);
80
 
80
 
81
short __stdcall VME_Output_settings(usb_dev_handle *hdev, int Channel, int code, int invert, int latch);
81
extern short __stdcall VME_Output_settings(usb_dev_handle *hdev, int Channel, int code, int invert, int latch);
82
 
82
 
83
short __stdcall VME_read_16(usb_dev_handle *hdev,short Address_Modifier, long VME_Address, long *Data);
83
extern short __stdcall VME_read_16(usb_dev_handle *hdev,short Address_Modifier, long VME_Address, long *Data);
84
short __stdcall VME_read_32(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long *Data);
84
extern short __stdcall VME_read_32(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long *Data);
85
short __stdcall VME_BLT_read_32(usb_dev_handle *hdev, short Address_Modifier, int count, long VME_Address, long Data[]);
85
extern short __stdcall VME_BLT_read_32(usb_dev_handle *hdev, short Address_Modifier, int count, long VME_Address, long Data[]);
86
short __stdcall VME_write_16(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long Data);
86
extern short __stdcall VME_write_16(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long Data);
87
short __stdcall VME_write_32(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long Data);
87
extern short __stdcall VME_write_32(usb_dev_handle *hdev, short Address_Modifier, long VME_Address, long Data);
88
 
88
 
89
#endif
89
#endif