📄 crc_func.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -