Xxusb_Device_Close; Xxusb_Reset_Toggle - Wiener CC-USB User Manual

Full-featured camac crate controller
Table of Contents

Advertisement

[in] Pointer to a structure storing parameters of the target XX-USB devices.
Return Values
On success, the function returns the handle to the target XX-USB device. A negative return
value indicates that the handle to a valid device could not be opened as a result of insufficient
privileges. It is recommended to retry in Superuser mode.
Remarks
While all xxusb functions rely on the libusb (www.sourceforge.net) functions while
communicating with XX-USB, xxusb_device_open and xxusb_handle_close are simply
macros creating aliases to usb_open and usb_close functions of the libusb library.

6.3 xxusb_device_close

The xxusb_device_close function closes the handle to the desired XX-USB device, obtained
by a xxusb_device_open call. This function is to be called upon termination of an XX-USB
session.
WORD xxusb_device_close{
USB_DEV_HANDLE lpUSBDevice,
};
Parameters
lpUSBDevice
[in] Pointer to a variable containing the handle to be closed.
Return Values
Returns negative upon failure.
Remarks
While all xxusb functions rely on the libusb (www.sourceforge.net) functions while
communicating with XX-USB, xxusb_device_open and xxusb_handle_close are simply
macros creating aliases to usb_open and usb_close functions of the libusb library.

6.4 xxusb_reset_toggle

The xxusb_reset_toggle function toggles the reset state of the FPGA while XX-USB is in
programming mode – rotary selector set in one of four P* positions.
WORD xxusb_reset_toggle{
HANDLE hDevice,
};
Parameters
WIENER, Plein & Baus GmbH
24
www.wiener-d.com

Advertisement

Table of Contents
loading

Related Products for Wiener CC-USB

This manual is also suitable for:

Vm-usb

Table of Contents