MICCDlibrary
|
Copyright © 2010 Petr Kubánek petr@ kuba nek.n et
Copyright © 2010 Moravské přístroje s.r.o. (MI) http://www.mii.cz
Driver and associated documentation cannot be distributed without prior agreement from MI.
This is driver for MI CCD camera. You will need to link with libmiccd.a to get working binary, e.g. assuming libmiccd.a resides in /usr/local/lib, headers in /usr/local/include, and you are using cc for C compiler, link your code code.c with this library with:
cc -o code -I/usr/local/include code.c /usr/local/lib/libmiccd.a
With exception of miccd_open all functions takes as the first parameter pointer to structure identifiing camera. The return value is 0 for success, negative for system errno value, and positive for error reply from camera itself.
The library does not need any kernel driver - access to USB bus through /dev/bus/usb, available in all recent kernels, is enough.
All function are documented under global function list. Following links to their definition in order you will use them in the code.