📄 ncfirmapp.h
字号:
/******************************************************************************
Copyright (C) 2003, NetChip Technology, Inc. (http://www.netchip.com)
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
NCFIRMAPP.H
Each NetChip application folder has one application file with this same
name: NcFirmApp.h. NcFirmApp.h specifies items with the exact same name
and structure as other NetChip applications such as the NetChip Application
Object. This technique allows NetChip's various firmware applications
(such as Loopback, Transfer, and Mass Storage) to be compiled with
common NetChip files, such as Main.c and NcDevice.c. (It also allows NetChip
to build a single program that can run any firmware application!)
******************************************************************************/
///////////////////////////////////////////////////////////////////////////////
#ifndef NCFIRMAPP_H
#define NCFIRMAPP_H
///////////////////////////////////////////////////////////////////////////////
// Specify the application's Application Object with common name:
// - This method helps NetChip to provide a single 'Main.C' that can be built with
// several stand-alone applications (e.g. Transfer, Loopback, MassStorage)
#define NETCHIP_FIRMWARE_APPLICATION_OBJECT Loopback_ApplicationObject
///////////////////////////////////////////////////////////////////////////////
// The application's actual Application Object exists in an application file (e.g.
// Transfer.C, Loopback,C, MassStorage.C). Any of these applications (and more)
// can be compiled, and their application objects referenced, as stand alone programs
// using this single application object name:
extern NC_APPLICATION_OBJECT NETCHIP_FIRMWARE_APPLICATION_OBJECT;
///////////////////////////////////////////////////////////////////////////////
#endif // NCFIRMAPP_H
///////////////////////////////////////////////////////////////////////////////
// End of file
///////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -