⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sdloaderdlg.h

📁 TMS320F2808的完整驱动测试程序源码
💻 H
字号:
/*
 *  Copyright 2003 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */

// SDLoaderDlg.h : header file
//

#if !defined(AFX_SDLOADERDLG_H__E13595FC_4CBA_467A_B4B1_11DC47606EEA__INCLUDED_)
#define AFX_SDLOADERDLG_H__E13595FC_4CBA_467A_B4B1_11DC47606EEA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CoffLoader.h"


/////////////////////////////////////////////////////////////////////////////
// CSDLoaderDlg dialog

class CSDLoaderDlg : public CDialog
{
// Construction
public:
	CSDLoaderDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSDLoaderDlg)
	enum { IDD = IDD_SDLOADER_DIALOG };
	CButton	c_I2CLoopBack;
	CButton	c_CanLoopBack;
	CButton	c_SciLoopBack;
	CButton	c_LoadButton;
	CEdit	c_OutputEdit;
	CButton c_ErrorVerbose;
	CButton c_MessageVerbose;
	//}}AFX_DATA

    CString m_entryPoint;           // Code entry point
    BOOL    m_useAltEntry;          // Code entry point selector
	BOOL    m_ErrorVerbose;
	BOOL    m_MessageVerbose;
	BOOL    m_SciLoopBack;
	BOOL    m_CanLoopBack;
	BOOL    m_I2CLoopBack;

    CWnd*   m_mainWindow;           // Main dialog window
    CString m_workingDirectory;     // Current working directory 

    CString m_driverPath;           // Driver path name
    CString m_driverName;           // Driver file name
    CString m_targetPath;           // Target Board Path
    CString m_boardName;            // Board file name

    CString m_procFamily;           // Processor family name
    CString m_procName;             // Processor cpu name
    CString m_procAddr;             // Processor emulation address

    CString m_coffFileName;         // COFF file name
    unsigned m_TestCount;
    
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSDLoaderDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
    void PrintResults(CString outstr );
    static UINT ThreadStart(LPVOID p);

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSDLoaderDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLoad();
	afx_msg void OnErrorVerbose();
	afx_msg void OnMessageVerbose();
    afx_msg void OnThreadMessage(WPARAM, LPARAM);
    afx_msg void OnThreadStop(WPARAM, LPARAM);
	afx_msg void OnSciLoopback();
	afx_msg void OnCanLoopback();
	afx_msg void OnI2cLoopback();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SDLOADERDLG_H__E13595FC_4CBA_467A_B4B1_11DC47606EEA__INCLUDED_)

⌨️ 快捷键说明

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