Home / 0.1
Name Modified Size InfoDownloads / Week
Parent folder
README0.1 2009-10-31 647 Bytes
openok.c 2009-10-31 10.0 kB
openok.h 2009-10-26 2.2 kB
Totals: 3 Items   12.8 kB 0
Currently the following functions are implemented:

int get_OK_devices(struct OKdevice device_list[]);
	gets a list of all devices connected to the system

usb_dev_handle* OK_open_dev(struct usb_device *OK_dev);
	opens a device specified by a dev structure

int OK_close(usb_dev_handle* device);
	closes a device

int OK_configure_FPGA(usb_dev_handle* OK_dev, const char* Filename);
	writes configuration file(tested with xem3010)

int OK_update_wirein(usb_dev_handle* OK_dev, char* data);
	writes wirein values to interface(tested with xem3010)

int OK_get_wireout(usb_dev_handle* OK_dev, char* data);
	reads wireout values(tested with xem3010)

Source: README0.1, updated 2009-10-31