Skip to content
  • This project
    • Loading...
  • Sign in

Barry / rf-depot

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • rf-depot
  • ..
  • win32
  • dousb.h
  • root's avatar
    added the rest · 5fa3b884
    5fa3b884
    root committed 2020-05-02 06:11:47 +0000
dousb.h 319 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _DO_USB_HEADER
#define _DO_USB_HEADER

#define RDB_IN_PIPE     0
#define RDB_OUT_PIPE    1

#define MAX_PIPE_DATA   2048 

HANDLE  open_usb_pipe(int which, char* usbDevName, int* bbDevices);
BOOL    do_usb_reset(HANDLE usbHandle);

int     bb_usb_read_start(HANDLE* hread);
int     bb_usb_read_end();

#endif