Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README0.2 | 2009-11-01 | 839 Bytes | |
openok.h | 2009-11-01 | 2.3 kB | |
openok.c | 2009-11-01 | 11.1 kB | |
Totals: 3 Items | 14.3 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) int OK_set_trigger_in(usb_dev_handle* OK_dev, int ep, char* data); sets a trigger in(untested) int OK_getTrigger_out(usb_dev_handle* OK_dev, char* data); gets trigger out values(untested)