// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// 中文(中华人民共和国) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOG  22, 17, 168, 75
STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System"
BEGIN
    ICON            IDI_Main,IDC_MYICON,14,9,20,20
    LTEXT           "PramFrame Version 1.0",IDC_STATIC,49,10,91,8,SS_NOPREFIX
    LTEXT           "Copyright (C) 2006",IDC_STATIC,49,20,119,8
    DEFPUSHBUTTON   "OK",IDOK,61,39,30,11,WS_GROUP
END

IDD_SpiUartI2cDbg DIALOGEX 0, 0, 521, 470
STYLE DS_SETFONT | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "SPI/I2C Debug"
FONT 9, "宋体", 400, 0, 0x86
BEGIN
    PUSHBUTTON      "关闭设备",IDC_CloseDevice,373,4,67,16
    EDITTEXT        IDC_InforShow,5,386,510,61,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "清空输出信息",IDC_ClearInfor,412,449,78,16
    LTEXT           "设备列表:",IDC_STATIC,6,8,38,8
    COMBOBOX        IDC_ObjList,48,6,238,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "刷新设备列表",IDC_RefreshObjList,290,4,67,16
    PUSHBUTTON      "打开设备",IDC_OpenDevice,443,4,67,16
    GROUPBOX        "SPI",IDC_STATIC,6,39,510,147
    PUSHBUTTON      "SPI片选控制(C1)",IDC_CMD_SPICsCtrl,443,78,67,16
    PUSHBUTTON      "SPI读写(C2)",IDC_CMD_SPIStream,13,129,60,16
    PUSHBUTTON      "SPI块读(C3)",IDC_CMD_BulkSpiIn,13,113,60,16
    PUSHBUTTON      "SPI块写(C4)",IDC_CMD_BulkSpiOut,13,97,60,16
    COMBOBOX        IDC_SpiCfg_Mode,35,50,35,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_Clock,107,50,37,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_ByteBitOrder,192,50,31,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "ActiveCS RW Delay(us):",IDC_STATIC,171,82,88,8
    EDITTEXT        IDC_SpiCfg_ActiveDelay,263,80,25,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_ChipIndex,60,80,37,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "EnableCS",IDC_EnableCS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,82,44,8
    COMBOBOX        IDC_SpiCsStatus,110,80,58,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "DeactiveCS RW Delay(us):(us):",IDC_STATIC,294,82,117,8
    EDITTEXT        IDC_SpiCfg_DelayDeactive,416,80,25,12,ES_AUTOHSCROLL
    RTEXT           "输出长度:",IDC_STATIC,78,97,37,8
    EDITTEXT        IDC_SpiOut,118,97,393,40,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    RTEXT           "输入长度:",IDC_STATIC,78,141,37,8
    EDITTEXT        IDC_SpiIn,118,141,393,40,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    EDITTEXT        IDC_SpiOutLen,78,108,33,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SpiInLen,78,150,33,12,ES_AUTOHSCROLL
    PUSHBUTTON      "初始化SPI(C0)",IDC_CMD_InitSPI,443,54,67,16
    RTEXT           "SpiOutInInterTime(us):",IDC_STATIC,11,67,89,8
    EDITTEXT        IDC_SpiCfg_OutInIntervalT,102,65,22,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_CS1Polarity,238,50,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "Mode:",IDC_STATIC,12,52,20,8
    RTEXT           "Clock:",IDC_STATIC,80,52,25,8
    RTEXT           "BitOrder:",IDC_STATIC,152,52,38,8
    COMBOBOX        IDC_SpiCfg_CS2Polarity,298,50,64,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    GROUPBOX        "I2C",IDC_STATIC,4,191,510,105
    PUSHBUTTON      "写/读",IDC_CMD_I2C_RW,7,223,60,16
    RTEXT           "输出长度:",IDC_STATIC,76,224,37,8
    EDITTEXT        IDC_I2COut,118,224,393,31,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    RTEXT           "输入长度:",IDC_STATIC,76,261,37,8
    EDITTEXT        IDC_I2CIn,118,260,393,32,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    EDITTEXT        IDC_I2COutLen,76,236,33,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_I2CInLen,76,271,33,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DevInfor,6,22,309,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "开启插入自动打开和移除自动关闭",IDC_EnablePnPAutoOpen,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,379,22,131,12
    EDITTEXT        IDC_PnPStatus,318,22,37,12,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "GPIO",IDC_STATIC,6,298,510,83
    CONTROL         "Gpio0",IDC_EnSet_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,335,35,9
    CONTROL         "Gpio1",IDC_EnSet_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,335,35,9
    CONTROL         "Gpio2",IDC_EnSet_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,335,35,9
    CONTROL         "Gpio3",IDC_EnSet_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,335,35,9
    CONTROL         "Gpio4",IDC_EnSet_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,335,35,9
    CONTROL         "Gpio5",IDC_EnSet_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,335,35,9
    CONTROL         "Gpio6",IDC_EnSet_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,335,35,9
    CONTROL         "Gpio7",IDC_EnSet_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,334,35,9
    RTEXT           "使能",IDC_STATIC,80,312,60,8
    RTEXT           "方向(Out为选中)",IDC_STATIC,80,323,60,8
    RTEXT           "电平(H为选中)",IDC_STATIC,80,333,60,8
    PUSHBUTTON      "设置",IDC_SetGpio,12,329,60,16
    PUSHBUTTON      "获取",IDC_GetGpio,12,312,60,16
    CONTROL         "全选",IDC_GpioEnableAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,311,35,9
    CONTROL         "全选",IDC_GpioSetDirAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,323,35,9
    CONTROL         "全选",IDC_GpioSetDataAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,334,35,9
    COMBOBOX        IDC_Int0PinSel,128,349,45,86,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "中断脚0:",IDC_Int0Enable,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,80,350,43,10
    COMBOBOX        IDC_Int1PinSel,128,366,45,69,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "中断脚1:",IDC_Int1Enable,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,80,367,42,9
    PUSHBUTTON      "关闭中断",IDC_DisableIntNotify,12,365,60,16
    PUSHBUTTON      "开启中断",IDC_EnableIntNotify,12,349,60,16
    COMBOBOX        IDC_Int0TrigMode,220,349,90,86,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Int1TrigMode,220,366,90,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "触发方式:",IDC_STATIC,179,351,38,8
    LTEXT           "触发方式:",IDC_STATIC,179,368,38,8
    LTEXT           "Clock:",IDC_STATIC,12,207,25,8
    COMBOBOX        IDC_I2CCfg_Clock,40,204,48,80,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "SCL Stretching:",IDC_STATIC,112,207,61,8
    COMBOBOX        IDC_I2CCfg_SclStretch,174,204,48,60,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Delay(ms):",IDC_STATIC,247,207,41,8
    PUSHBUTTON      "初始化I2C",IDC_I2CInit,359,202,60,16
    EDITTEXT        IDC_I2CCfg_Delay,289,204,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SpiCfg_Frequency,202,66,46,14,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_frequencyUnit,256,66,48,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "SpiFrequency:",IDC_SpiCfg_SetFreq,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,136,67,64,10
    LTEXT           "SpiDatabits:",IDC_STATIC,315,69,49,8
    COMBOBOX        IDC_SpiCfg_Databits,365,66,48,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
END

IDD_FlashEepromDbg DIALOGEX 0, 0, 515, 467
STYLE DS_SETFONT | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "CH347SPI Flash Programmer"
FONT 9, "宋体", 400, 0, 0x86
BEGIN
    PUSHBUTTON      "关闭设备",IDC_CloseDevice,367,13,67,16
    EDITTEXT        IDC_InforShow,5,356,503,90,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "清空输出信息",IDC_ClearInfor,427,450,78,16
    LTEXT           "设备列表:",IDC_STATIC,10,17,38,8
    COMBOBOX        IDC_ObjList,48,15,244,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "刷新设备列表",IDC_RefreshObjList,296,13,67,16
    PUSHBUTTON      "Flash型号识别",IDC_FlashIdentify,427,83,78,16
    PUSHBUTTON      "Flash擦除",IDC_FlashErase,427,137,78,16
    PUSHBUTTON      "Flash块读",IDC_FlashRead,427,101,78,16
    PUSHBUTTON      "Flash写",IDC_FlashWrite,427,119,78,16
    LTEXT           "起始地址:0x",IDC_STATIC,10,62,45,8
    EDITTEXT        IDC_FlashStartAddr,62,60,72,12,ES_AUTOHSCROLL
    RTEXT           "长度:0x",IDC_STATIC,144,62,29,8
    EDITTEXT        IDC_FlashDataSize,177,60,33,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_FlashData,10,77,412,147,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    PUSHBUTTON      "FLASH速度测速",IDC_FlashRWSpeedTest,427,209,78,16
    PUSHBUTTON      "文件写入FLASH",IDC_WriteFormFile,427,173,78,16
    PUSHBUTTON      "FLASH读至文件",IDC_ReadToFile,427,155,78,16
    PUSHBUTTON      "打开设备",IDC_OpenDevice,438,13,67,16
    GROUPBOX        "USB2.0 SPI <==> Flash(W25Q64)",IDC_STATIC,5,48,503,183
    PUSHBUTTON      "Flash检验",IDC_FlashVerify,427,191,78,16
    GROUPBOX        "USB2.0 SPI Config",IDC_STATIC,5,2,503,44
    COMBOBOX        IDC_SpiCfg_Mode,284,60,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_Clock,369,60,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "初始化SPI(C0)",IDC_CMD_InitSPI,427,58,78,16
    RTEXT           "Mode:",IDC_STATIC,261,62,20,8
    RTEXT           "Clock:",IDC_STATIC,341,62,25,8
    GROUPBOX        "USB2.0 I2C <==> EEPROM",IDC_STATIC,5,235,503,118
    LTEXT           "起始地址:0x",IDC_STATIC,12,248,45,8
    EDITTEXT        IDC_EepromStartAddr,62,246,72,12,ES_AUTOHSCROLL
    RTEXT           "长度:0x",IDC_STATIC,146,248,29,8
    EDITTEXT        IDC_EepromDataSize,180,246,33,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_EepromType,287,246,49,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "EEPROM型号:",IDC_STATIC,237,248,44,8
    EDITTEXT        IDC_EepromData,10,263,412,85,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    PUSHBUTTON      "读",IDC_EepromRead,427,262,78,16
    PUSHBUTTON      "写",IDC_EepromWrite,427,279,78,16
    PUSHBUTTON      "文件写入Eeprom",IDC_WriteEepromFormFile,427,313,78,16
    PUSHBUTTON      "Eeprom读至文件",IDC_ReadEepromToFile,427,296,78,16
    PUSHBUTTON      "Eeprom检验",IDC_EepromVerify,427,330,78,16
    EDITTEXT        IDC_DevInfor,12,31,312,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "开启插入自动打开和移除自动关闭",IDC_EnablePnPAutoOpen_Flash,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,374,31,131,12
    EDITTEXT        IDC_PnPStatus_Flash,330,31,33,12,ES_AUTOHSCROLL
    PUSHBUTTON      "初始化I2C",IDC_CMD_InitI2C,427,243,78,16
    LTEXT           "Clock:",IDC_STATIC,341,248,25,8
    COMBOBOX        IDC_I2CCfg_Clock,369,246,52,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
END

IDD_JtagDebug DIALOGEX 0, 0, 494, 458
STYLE DS_SETFONT | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Usb20ToJtag Debug"
FONT 9, "宋体", 400, 0, 0x86
BEGIN
    EDITTEXT        IDC_InforShow,6,219,482,213,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    GROUPBOX        "JTAG TAP Operation",IDC_STATIC,6,40,482,138
    PUSHBUTTON      "关闭设备",IDC_CloseDevice,339,4,70,16
    LTEXT           "设备列表:",IDC_STATIC,6,8,36,8
    COMBOBOX        IDC_ObjList,42,6,235,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "刷新设备列表",IDC_RefreshObjList,279,4,58,16
    PUSHBUTTON      "清空输出信息",IDC_ClearInfor,411,438,70,16
    PUSHBUTTON      "打开设备",IDC_OpenDevice,411,4,70,16
    EDITTEXT        IDC_JtagOut,134,110,265,29,ES_MULTILINE | ES_UPPERCASE | WS_VSCROLL
    EDITTEXT        IDC_JtagOutLen,105,110,25,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    PUSHBUTTON      "JTAG字节写(D3)",IDC_Jtag_ByteWrite,411,117,70,16
    PUSHBUTTON      "JTAG TAP状态切换",IDC_JtagState_Switch,140,193,109,16
    COMBOBOX        IDC_JtagTapState,10,195,128,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_JtagInLen,105,143,25,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_JtagIn,134,143,265,29,ES_MULTILINE | ES_UPPERCASE | WS_VSCROLL
    LTEXT           "字节数据写(小端) 长度:",IDC_JtagOutLenName,15,113,88,8
    LTEXT           "字节数据读(小端) 长度:",IDC_JtagInLenName,15,146,88,8
    PUSHBUTTON      "JTAG字节读(D4)",IDC_Jtag_ByteRead,412,149,70,16
    COMBOBOX        IDC_JtaShiftgChannel,85,52,73,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "JTAG Target初始化",IDC_Jtag_InitTarget,257,193,109,16
    COMBOBOX        IDC_JtagClockRate,326,53,73,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "JtagConfig(D0)",IDC_JtagIfConfig,411,51,70,16
    PUSHBUTTON      "通过JTAG下载程序",IDC_Jtag_DnFile_Exam,374,193,109,16
    GROUPBOX        "Jtag Target Device Operation example",IDC_STATIC,6,182,482,34
    LTEXT           "读写数据寄存器:",IDC_STATIC,33,54,48,8
    LTEXT           "JTAG TCK速率:",IDC_STATIC,274,55,52,8
    PUSHBUTTON      "JTAG位写(D1)",IDC_Jtag_BitWrite,411,69,70,16
    PUSHBUTTON      "JTAG位读(D2)",IDC_Jtag_BitRead,411,89,70,16
    COMBOBOX        IDC_DataTransFunc,200,53,70,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_JtagInBitLen,105,91,25,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "二进制数据读(MSB) 位数:",IDC_JtagOutLenName2,10,93,92,8
    EDITTEXT        IDC_JtagOutBit,134,71,265,12,ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_JtagOutBitLen,105,71,25,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "二进制数据写(MSB) 位数:",IDC_JtagOutLenName3,10,73,92,8
    EDITTEXT        IDC_JtagInBit,134,91,265,12,ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_DevInfor_Jtag,8,22,293,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "开启插入自动打开和移除自动关闭",IDC_EnablePnPAutoOpen_Jtag,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,350,22,131,12
    EDITTEXT        IDC_PnPStatus_Jtag,305,22,41,12,ES_AUTOHSCROLL
END

IDD_UartDbg DIALOGEX 0, 0, 519, 471
STYLE DS_SETFONT | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "USB 2.0 Uart Debug"
FONT 9, "宋体", 400, 0, 0x86
BEGIN
    EDITTEXT        IDC_InforShow,6,322,504,126,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "清空输出信息",IDC_ClearInfor,416,451,78,16
    PUSHBUTTON      "写",IDC_Uart_Write,434,98,67,16
    GROUPBOX        "串口读",-1,6,184,504,118
    EDITTEXT        IDC_Uart_WriteData,14,83,414,89,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    RTEXT           "写长度:",-1,13,71,33,8
    EDITTEXT        IDC_Uart_WriteLen,55,69,33,12,ES_AUTOHSCROLL
    PUSHBUTTON      "关闭设备",IDC_CloseDevice,364,3,67,16
    LTEXT           "设备列表:",-1,11,7,39,8
    COMBOBOX        IDC_ObjList,60,5,228,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "刷新设备列表",IDC_RefreshObjList,294,3,67,16
    PUSHBUTTON      "打开设备",IDC_OpenDevice,434,3,67,16
    COMBOBOX        IDC_Uart_Baudrate,11,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_Parity,95,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_StopBits,177,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_DataSize,258,37,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_Uart_Timeout,396,39,26,13,ES_AUTOHSCROLL
    LTEXT           "字节超时(ms):",-1,339,41,52,9
    PUSHBUTTON      "参数设置",IDC_Uart_Set,434,38,67,16
    PUSHBUTTON      "读",IDC_Uart_Read,434,209,67,16
    EDITTEXT        IDC_Uart_ReadData,14,209,414,89,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    RTEXT           "读长度:",-1,18,197,33,8
    EDITTEXT        IDC_Uart_ReadLen,55,195,33,12,ES_AUTOHSCROLL
    LTEXT           "Tx:0,Rx:0",IDC_TotalCntTRx,291,71,135,8
    PUSHBUTTON      "重置计数",IDC_ResetCnt,434,67,67,16
    CONTROL         "自动接收至文件",IDC_EnAutoRecvToFile,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,435,233,69,10
    PUSHBUTTON      "关闭自动接收",IDC_Uart_StopRxThread,434,258,67,16
    PUSHBUTTON      "发送文件",IDC_UartSendFile,434,115,67,16
    GROUPBOX        "串口写",-1,7,58,504,118
    PUSHBUTTON      "停止文件发送",IDC_Uart_StopTxThread,434,134,67,16
    EDITTEXT        IDC_DevInfor,11,22,279,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "自动接收显示",IDC_EnAutoRecvShow,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,436,245,69,10
    CONTROL         "开启插入自动打开和移除自动关闭",IDC_EnablePnPAutoOpen_Uart,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,370,22,131,12
    EDITTEXT        IDC_PnPStatus_Uart,296,22,63,12,ES_AUTOHSCROLL
END


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_Main                ICON                    "Main.ICO"
IDI_SMALL               ICON                    "small.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDC_PRAMFRAME MENU 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "E&xit",                       IDM_EXIT
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About ...",                  IDM_ABOUT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,1,0,0
 PRODUCTVERSION 1,1,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "080404b0"
        BEGIN
            VALUE "CompanyName", "http://wch.cn"
            VALUE "FileDescription", "CH347Demo"
            VALUE "FileVersion", "1, 1, 0, 0"
            VALUE "InternalName", "CH347Demo"
            VALUE "LegalCopyright", "Copyright WCH 2023"
            VALUE "OriginalFilename", "CH347Demo.exe"
            VALUE "ProductName", "CH347Demo"
            VALUE "ProductVersion", "1, 1, 0, 0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x804, 1200
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_SpiUartI2cDbg, DIALOG
    BEGIN
        BOTTOMMARGIN, 469
    END

    IDD_FlashEepromDbg, DIALOG
    BEGIN
        RIGHTMARGIN, 514
        BOTTOMMARGIN, 458
    END

    IDD_JtagDebug, DIALOG
    BEGIN
        RIGHTMARGIN, 493
        BOTTOMMARGIN, 457
    END

    IDD_UartDbg, DIALOG
    BEGIN
        RIGHTMARGIN, 518
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE 
BEGIN
    IDS_APP_TITLE           "PramFrame"
    IDS_HELLO               "Hello World!"
    IDC_PRAMFRAME           "PRAMFRAME"
END

#endif    // 中文(中华人民共和国) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// 英语(美国) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_FlashEepromDbg DIALOGEX 0, 0, 515, 467
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "CH347SPI Flash Programmer"
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    PUSHBUTTON      "Close Dev",IDC_CloseDevice,367,13,67,16
    EDITTEXT        IDC_InforShow,5,356,503,90,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "Clear Information",IDC_ClearInfor,427,450,78,16
    LTEXT           "DevList:",IDC_STATIC,10,17,38,8
    COMBOBOX        IDC_ObjList,48,15,244,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Refresh Dev",IDC_RefreshObjList,296,13,67,16
    PUSHBUTTON      "Flash Chip Detect",IDC_FlashIdentify,415,83,90,16
    PUSHBUTTON      "Flash Erase",IDC_FlashErase,415,137,90,16
    PUSHBUTTON      "Flash Read",IDC_FlashRead,415,101,90,16
    PUSHBUTTON      "Flash Write",IDC_FlashWrite,415,119,90,16
    LTEXT           "Base Addr:0x",IDC_STATIC,12,62,43,8
    EDITTEXT        IDC_FlashStartAddr,62,60,72,12,ES_AUTOHSCROLL
    RTEXT           "Length:0x",IDC_STATIC,136,62,37,8
    EDITTEXT        IDC_FlashDataSize,177,60,33,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_FlashData,10,77,400,147,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    PUSHBUTTON      "FLASH Speed Test",IDC_FlashRWSpeedTest,415,209,90,16
    PUSHBUTTON      "File Write To FLASH",IDC_WriteFormFile,415,173,90,16
    PUSHBUTTON      "FLASH Read To File",IDC_ReadToFile,415,155,90,16
    PUSHBUTTON      "Open Dev",IDC_OpenDevice,438,13,67,16
    GROUPBOX        "USB2.0 SPI <==> Flash(W25Q64)",IDC_STATIC,5,48,503,183
    PUSHBUTTON      "Flash Verify",IDC_FlashVerify,415,191,90,16
    GROUPBOX        "USB2.0 SPI Config",IDC_STATIC,5,2,503,44
    COMBOBOX        IDC_SpiCfg_Mode,270,60,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_Clock,358,60,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Initialize SPI(C0)",IDC_CMD_InitSPI,415,58,90,16
    RTEXT           "Mode:",IDC_STATIC,247,62,20,8
    RTEXT           "Clock:",IDC_STATIC,328,62,25,8
    GROUPBOX        "USB2.0 I2C <==> EEPROM",IDC_STATIC,5,235,503,118
    LTEXT           "Base Addr:0x",IDC_STATIC,12,248,49,8
    EDITTEXT        IDC_EepromStartAddr,62,246,72,12,ES_AUTOHSCROLL
    RTEXT           "Length:0x",IDC_STATIC,138,248,37,8
    EDITTEXT        IDC_EepromDataSize,178,246,33,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_EepromType,275,246,49,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "EEPROM Type:",IDC_STATIC,220,248,52,8
    EDITTEXT        IDC_EepromData,10,263,400,85,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    PUSHBUTTON      "Read",IDC_EepromRead,415,262,90,16
    PUSHBUTTON      "Write",IDC_EepromWrite,415,279,90,16
    PUSHBUTTON      "File Write To Eeprom",IDC_WriteEepromFormFile,415,313,90,16
    PUSHBUTTON      "Eeprom To File",IDC_ReadEepromToFile,415,296,90,16
    PUSHBUTTON      "Eeprom Verify",IDC_EepromVerify,415,330,90,16
    EDITTEXT        IDC_DevInfor,12,31,312,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Insert auto open/remove close dev",IDC_EnablePnPAutoOpen_Flash,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,374,31,131,12
    EDITTEXT        IDC_PnPStatus_Flash,330,31,33,12,ES_AUTOHSCROLL
    PUSHBUTTON      "Initialize I2C",IDC_CMD_InitI2C,415,243,90,16
    LTEXT           "Clock:",IDC_STATIC,333,248,21,8
    COMBOBOX        IDC_I2CCfg_Clock,358,246,52,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
END

IDD_JtagDebug DIALOGEX 0, 0, 494, 458
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Usb20ToJtag Debug"
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    EDITTEXT        IDC_InforShow,6,219,482,213,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    GROUPBOX        "JTAG TAP Operation",IDC_STATIC,6,40,482,138
    PUSHBUTTON      "Close Dev",IDC_CloseDevice,339,4,70,16
    LTEXT           "DevList:",IDC_STATIC,7,8,27,8
    COMBOBOX        IDC_ObjList,42,6,235,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Refresh Dev",IDC_RefreshObjList,279,4,58,16
    PUSHBUTTON      "Clear Information",IDC_ClearInfor,411,438,70,16
    PUSHBUTTON      "Open Dev",IDC_OpenDevice,411,4,70,16
    EDITTEXT        IDC_JtagOut,134,110,253,29,ES_MULTILINE | ES_UPPERCASE | WS_VSCROLL
    EDITTEXT        IDC_JtagOutLen,103,110,27,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    PUSHBUTTON      "JTAG Bytes Write(D3)",IDC_Jtag_ByteWrite,396,116,85,16
    PUSHBUTTON      "JTAG TAP State Switch",IDC_JtagState_Switch,140,193,111,16
    COMBOBOX        IDC_JtagTapState,10,195,128,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_JtagInLen,103,143,27,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_JtagIn,134,143,253,29,ES_MULTILINE | ES_UPPERCASE | WS_VSCROLL
    LTEXT           "Bytes Write(L) Leng:",IDC_JtagOutLenName,35,113,67,8
    LTEXT           "Bytes Read(L) Leng:",IDC_JtagInLenName,34,146,66,8
    PUSHBUTTON      "JTAG Bytes Read(D4)",IDC_Jtag_ByteRead,396,148,85,16
    COMBOBOX        IDC_JtaShiftgChannel,91,52,73,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "JTAG Target Initialization",IDC_Jtag_InitTarget,257,193,111,16
    COMBOBOX        IDC_JtagClockRate,320,53,67,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "JtagConfig(D0)",IDC_JtagIfConfig,396,51,85,16
    PUSHBUTTON      "Download Program",IDC_Jtag_DnFile_Exam,374,193,111,16
    GROUPBOX        "Jtag Target Device Operation example",IDC_STATIC,6,182,482,34
    LTEXT           "Data Register:",IDC_STATIC,36,54,48,8
    LTEXT           "JTAG TCK Speed:",IDC_STATIC,256,56,57,8
    PUSHBUTTON      "JTAG Bit Write(D1)",IDC_Jtag_BitWrite,396,69,85,16
    PUSHBUTTON      "JTAG Bit Read(D2)",IDC_Jtag_BitRead,396,89,85,16
    COMBOBOX        IDC_DataTransFunc,182,53,70,66,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_JtagInBitLen,103,91,27,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "Binary data read(MSB) bits:",IDC_JtagOutLenName2,14,93,89,8
    EDITTEXT        IDC_JtagOutBit,134,71,253,12,ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_JtagOutBitLen,103,71,27,12,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "Binary data write(MSB) bits:",IDC_JtagOutLenName3,13,73,90,8
    EDITTEXT        IDC_JtagInBit,134,91,253,12,ES_AUTOHSCROLL | ES_NUMBER
    EDITTEXT        IDC_DevInfor_Jtag,8,22,293,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Insert auto open/remove close dev",IDC_EnablePnPAutoOpen_Jtag,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,350,22,131,12
    EDITTEXT        IDC_PnPStatus_Jtag,305,22,41,12,ES_AUTOHSCROLL
END

IDD_SpiUartI2cDbg DIALOGEX 0, 0, 521, 470
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "SPI/I2C Debug"
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    PUSHBUTTON      "Close Dev",IDC_CloseDevice,373,4,67,16
    EDITTEXT        IDC_InforShow,5,386,510,61,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "Clear Information",IDC_ClearInfor,412,449,78,16
    LTEXT           "DevList:",IDC_STATIC,6,8,38,8
    COMBOBOX        IDC_ObjList,48,6,238,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Refresh Dev",IDC_RefreshObjList,290,4,67,16
    PUSHBUTTON      "Open Dev",IDC_OpenDevice,443,4,67,16
    GROUPBOX        "SPI",IDC_STATIC,6,39,510,147
    PUSHBUTTON      "SPI CS Control(C1)",IDC_CMD_SPICsCtrl,434,78,77,14
    PUSHBUTTON      "SPI R/W(C2)",IDC_CMD_SPIStream,13,129,60,16
    PUSHBUTTON      "SPI Read(C3)",IDC_CMD_BulkSpiIn,13,113,60,16
    PUSHBUTTON      "SPI Write(C4)",IDC_CMD_BulkSpiOut,13,97,60,16
    COMBOBOX        IDC_SpiCfg_Mode,35,50,35,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_Clock,107,50,37,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_SpiCfg_ByteBitOrder,192,50,31,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "ActiveCS RW Delay(us):",IDC_STATIC,162,82,88,8
    EDITTEXT        IDC_SpiCfg_ActiveDelay,254,80,25,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_ChipIndex,60,80,37,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "EnableCS",IDC_EnableCS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,82,44,8
    COMBOBOX        IDC_SpiCsStatus,101,80,58,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "DeactiveCS RW Delay(us):(us):",IDC_STATIC,285,82,117,8
    EDITTEXT        IDC_SpiCfg_DelayDeactive,407,80,25,12,ES_AUTOHSCROLL
    RTEXT           "Output Length:",IDC_STATIC,76,97,50,8
    EDITTEXT        IDC_SpiOut,134,97,377,40,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    RTEXT           "Input Length:",IDC_STATIC,80,141,45,8
    EDITTEXT        IDC_SpiIn,134,141,377,40,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    EDITTEXT        IDC_SpiOutLen,76,108,56,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SpiInLen,76,150,56,12,ES_AUTOHSCROLL
    PUSHBUTTON      "Initialize SPI(C0)",IDC_CMD_InitSPI,434,54,77,16
    RTEXT           "SpiOutInInterTime(us):",IDC_STATIC,11,67,89,8
    EDITTEXT        IDC_SpiCfg_OutInIntervalT,102,65,22,12,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_CS1Polarity,238,50,52,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    RTEXT           "Mode:",IDC_STATIC,12,52,20,8
    RTEXT           "Clock:",IDC_STATIC,80,52,25,8
    RTEXT           "BitOrder:",IDC_STATIC,152,52,38,8
    COMBOBOX        IDC_SpiCfg_CS2Polarity,298,50,64,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    GROUPBOX        "I2C",IDC_STATIC,4,191,510,105
    PUSHBUTTON      "Write/Read",IDC_CMD_I2C_RW,11,222,60,16
    RTEXT           "Output Length:",IDC_STATIC,76,224,50,8
    EDITTEXT        IDC_I2COut,134,224,377,31,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    RTEXT           "Input Length:",IDC_STATIC,80,261,45,8
    EDITTEXT        IDC_I2CIn,134,260,377,32,ES_MULTILINE | ES_UPPERCASE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL
    EDITTEXT        IDC_I2COutLen,76,236,56,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_I2CInLen,76,271,56,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DevInfor,6,22,309,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Insert auto open/remove close dev",IDC_EnablePnPAutoOpen,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,379,22,131,12
    EDITTEXT        IDC_PnPStatus,318,22,37,12,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "GPIO",IDC_STATIC,6,298,510,83
    CONTROL         "Gpio0",IDC_EnSet_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,146,335,35,9
    CONTROL         "Gpio1",IDC_EnSet_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,185,335,35,9
    CONTROL         "Gpio2",IDC_EnSet_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,224,335,35,9
    CONTROL         "Gpio3",IDC_EnSet_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio3,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,263,335,35,9
    CONTROL         "Gpio4",IDC_EnSet_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio4,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,302,335,35,9
    CONTROL         "Gpio5",IDC_EnSet_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,341,335,35,9
    CONTROL         "Gpio6",IDC_EnSet_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,380,335,35,9
    CONTROL         "Gpio7",IDC_EnSet_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,311,35,9
    CONTROL         "Out/In",IDC_Dir_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,323,35,9
    CONTROL         "H/L",IDC_Val_Gpio7,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,419,334,35,9
    RTEXT           "Enable",IDC_STATIC,80,312,60,8
    RTEXT           "Dir(Out Select)",IDC_STATIC,80,323,60,8
    RTEXT           "Level(H Select)",IDC_STATIC,80,333,60,8
    PUSHBUTTON      "Set",IDC_SetGpio,12,329,60,16
    PUSHBUTTON      "Get State",IDC_GetGpio,12,312,60,16
    CONTROL         "All",IDC_GpioEnableAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,311,35,9
    CONTROL         "All",IDC_GpioSetDirAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,323,35,9
    CONTROL         "All",IDC_GpioSetDataAll,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,460,334,35,9
    COMBOBOX        IDC_Int0PinSel,135,349,45,86,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "INT0:",IDC_Int0Enable,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,96,350,34,10
    COMBOBOX        IDC_Int1PinSel,135,366,45,69,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "INT1:",IDC_Int1Enable,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,96,367,34,10
    PUSHBUTTON      "Disable Interrupt",IDC_DisableIntNotify,12,365,73,14
    PUSHBUTTON      "Enable Interrupt",IDC_EnableIntNotify,12,349,73,14
    COMBOBOX        IDC_Int0TrigMode,219,349,90,86,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Int1TrigMode,219,366,90,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Trigger:",IDC_STATIC,186,351,25,8
    LTEXT           "Trigger:",IDC_STATIC,186,368,25,8
    LTEXT           "Clock:",IDC_STATIC,12,207,21,8
    COMBOBOX        IDC_I2CCfg_Clock,40,204,48,80,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "SCL Stretching:",IDC_STATIC,112,207,50,8
    COMBOBOX        IDC_I2CCfg_SclStretch,167,204,48,60,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Delay(ms):",IDC_STATIC,247,207,34,8
    PUSHBUTTON      "Initialize I2C",IDC_I2CInit,359,202,77,16
    EDITTEXT        IDC_I2CCfg_Delay,285,204,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_SpiCfg_Frequency,205,66,46,14,ES_AUTOHSCROLL
    COMBOBOX        IDC_SpiCfg_frequencyUnit,256,66,48,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    CONTROL         "SpiFrequency:",IDC_SpiCfg_SetFreq,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,67,66,10
    LTEXT           "SpiDatabits:",IDC_STATIC,315,69,49,8
    COMBOBOX        IDC_SpiCfg_Databits,365,66,48,70,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
END

IDD_UartDbg DIALOGEX 0, 0, 519, 471
STYLE DS_SETFONT | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "USB 2.0 Uart Debug"
FONT 8, "Microsoft Sans Serif", 400, 0, 0x0
BEGIN
    EDITTEXT        IDC_InforShow,6,322,504,126,ES_MULTILINE | ES_OEMCONVERT | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL
    PUSHBUTTON      "Clear Information",IDC_ClearInfor,416,451,78,16
    PUSHBUTTON      "Write",IDC_Uart_Write,434,98,67,16
    GROUPBOX        "UART Read",-1,6,184,504,118
    EDITTEXT        IDC_Uart_WriteData,14,83,414,89,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    RTEXT           "Write Length:",-1,13,71,53,8
    EDITTEXT        IDC_Uart_WriteLen,67,69,33,12,ES_AUTOHSCROLL
    PUSHBUTTON      "Close Dev",IDC_CloseDevice,364,3,67,16
    LTEXT           "DevList:",-1,11,7,39,8
    COMBOBOX        IDC_ObjList,60,5,228,113,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Refresh Dev",IDC_RefreshObjList,294,3,67,16
    PUSHBUTTON      "Open Dev",IDC_OpenDevice,434,3,67,16
    COMBOBOX        IDC_Uart_Baudrate,11,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_Parity,95,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_StopBits,177,38,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_Uart_DataSize,258,37,77,102,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_Uart_Timeout,387,39,35,13,ES_AUTOHSCROLL
    LTEXT           "Timeout(ms):",-1,339,41,41,8
    PUSHBUTTON      "Setting",IDC_Uart_Set,434,38,67,16
    PUSHBUTTON      "Read",IDC_Uart_Read,434,209,67,16
    EDITTEXT        IDC_Uart_ReadData,14,209,414,89,ES_MULTILINE | ES_UPPERCASE | ES_WANTRETURN | WS_VSCROLL,WS_EX_STATICEDGE
    RTEXT           "Read Length:",-1,18,197,49,8
    EDITTEXT        IDC_Uart_ReadLen,67,195,33,12,ES_AUTOHSCROLL
    LTEXT           "Tx:0,Rx:0",IDC_TotalCntTRx,291,71,135,8
    PUSHBUTTON      "Reset Count",IDC_ResetCnt,434,67,67,16
    CONTROL         "Receive To File",IDC_EnAutoRecvToFile,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,435,233,70,10
    PUSHBUTTON      "Close Show",IDC_Uart_StopRxThread,434,258,67,16
    PUSHBUTTON      "Send File",IDC_UartSendFile,434,115,67,16
    GROUPBOX        "UART Write",-1,7,58,504,118
    PUSHBUTTON      "Stop File Send",IDC_Uart_StopTxThread,434,134,67,16
    EDITTEXT        IDC_DevInfor,11,22,279,12,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Receive Show",IDC_EnAutoRecvShow,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,436,245,64,10
    CONTROL         "Insert auto open/remove close dev",IDC_EnablePnPAutoOpen_Uart,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,370,22,131,12
    EDITTEXT        IDC_PnPStatus_Uart,296,22,63,12,ES_AUTOHSCROLL
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_FlashEepromDbg, DIALOG
    BEGIN
        RIGHTMARGIN, 514
        BOTTOMMARGIN, 458
    END

    IDD_JtagDebug, DIALOG
    BEGIN
        RIGHTMARGIN, 493
        BOTTOMMARGIN, 457
    END

    IDD_SpiUartI2cDbg, DIALOG
    BEGIN
        BOTTOMMARGIN, 469
    END

    IDD_UartDbg, DIALOG
    BEGIN
        RIGHTMARGIN, 518
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // 英语(美国) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

