usb.h
来自「usb芯片cy7c68013通信上位机程序」· C头文件 代码 · 共 21 行
H
21 行
#ifndef usbH
#define usbH
#include "windows.h"
//---------------------------------------------------------------------------
class TUSB{
private:
HANDLE hDevice;
public:
bool OpenDevice();
bool CloseDevice();
bool SendCommand(unsigned char command);
bool ResetFifo();
bool GetImage(unsigned char *buf);
bool GetCardResponse(unsigned char *buf) ;
bool SendCardCommand(unsigned char *buf) ;
bool PutImage(unsigned char *buf);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?