crc_func.h

来自「该工具用于数字电路仿真中的usb数据文件转换: 1.可以把11比特的令牌包数据」· C头文件 代码 · 共 43 行

H
43
字号
#if !defined(AFX_DEVICE_USB_H__22ADAD0F_EFB9_4BF8_9D3B_03E5ED3A21B8__INCLUDED_)
#define AFX_DEVICE_USB_H__22ADAD0F_EFB9_4BF8_9D3B_03E5ED3A21B8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#endif
// device_usb.h : header file
//

#define	DATA_RX16	"data_rx16.txt"
#define	DATA_RX5	"data_rx5.txt"
#define	RESULT_FULL_16	"result_full_16.txt"
#define RESULT_HIGH_16	"result_high_16.txt"
#define RESULT_FULL_5	"result_full_5.txt"
#define RESULT_HIGH_5	"result_high_5.txt"

	typedef struct _test_select{
	unsigned char transmode;
	unsigned char endpoint;
	unsigned char direction;
	//char file_path[1024];
	}test_select;
/////////////////////////////////////////////////////////////////////////////
// device_usb view

class crc_func 
{
public:
	
	crc_func();
	virtual ~crc_func();
	DWORD crc5_tx(void);
	DWORD crc5_rx(void);
	DWORD crc16_tx(void);
	DWORD crc16_rx(void);
	
	CDialog* crc_dlg;
};



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?