mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
device; writes haven't been converted yet. Reduces the bandiwidth from about 800kB/s to about 500kB/s, which is about what I thought.
18 lines
448 B
C++
18 lines
448 B
C++
#ifndef USB_H
|
|
#define USB_H
|
|
|
|
class Fluxmap;
|
|
class Bytes;
|
|
|
|
extern int usbGetVersion();
|
|
extern void usbRecalibrate();
|
|
extern void usbSeek(int track);
|
|
extern nanoseconds_t usbGetRotationalPeriod();
|
|
extern void usbTestBulkTransport();
|
|
extern Bytes usbRead(int side, int revolutions);
|
|
extern void usbWrite(int side, const Fluxmap& fluxmap);
|
|
extern void usbErase(int side);
|
|
extern void usbSetDrive(int drive, bool high_density);
|
|
|
|
#endif
|