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

📄 userdefndconst.h

📁 dsp DM642 pci 详细的开发例程
💻 H
字号:
// Dm642App.h
//////////////////////////////////////////////////////////////////////////////
////
////  Copyright (c) 2003, Valley Technologies, Inc.
////  All rights reserved.
////
//////////////////////////////////////////////////////////////////////////////
////
////  $Header $
////
////  $ReleaseClass: src $
////
////  Original Author                 : ebersole
////  Most Recent Contributing $Author: ebersole $
////
//////////////////////////////////////////////////////////////////////////////
////
////  This file contains the user-defined constants used by the Exhibit #2
////  Application.  The constants can be set and changed by the user/pgmr
////  either here, in this file, or via the compiler command-line.  Note
////  that the compiler's command-line takes precedence over this file.
////
////  The constants defined in this file control various conditional-
////  compilation clauses throughout the Exhibit #2 program.
////
//////////////////////////////////////////////////////////////////////////////


//############################################################################


#ifndef _USERDEFNDCONST_H_
#define _USERDEFNDCONST_H_


//############################################################################
//                               Constants
//############################################################################


//------------------------------------------------------------------
// The size of the buffer to transfer between the host and the DSP
//------------------------------------------------------------------
#ifndef BUFSIZE
#   define BUFSIZE        (256)
#endif

//---------------------------------------------------------------------
// The number of times to loop thru the tests.  Each test involves
//   transferring a buffer 2x --> host-to-DSP and DSP-to-host.
//   Each test also involves verifying the transfers.
//
// If NLOOPS == 0, then the tests will loop forever.
//---------------------------------------------------------------------
#ifndef NLOOPS
#   define NLOOPS         (0)
#endif

//----------------------------------------------------------------------------
// Flag to indicate whether to use Windows Events (and WaitForSingleObject)
//   to wait for DSP-to-host transfers.  The alternative is to use busy-wait
//   loops.
//----------------------------------------------------------------------------
#ifndef _USE_WINEVENTS
#   define _USE_WINEVENTS_ 1
#endif


//############################################################################


#endif


//############################################################################
//                             End-Of-File
//############################################################################\

⌨️ 快捷键说明

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