?? usb_extern.h
字號:
/*********************************************************************
(c) copyright Freescale Semiconductor Hong Kong Ltd 2004
ALL RIGHTS RESERVED
*********************************************************************
USB Driver Module for S12 MCUs
*********************************************************************
File: usb_extern.c
Description: Prototypes of global variable of USB Driver
Date: Jun. 2002
Author: Keny Chen
********************************************************************/
#include "FreescaleDef.h" // get my Constant & Type definitions.
//
// This is the header file of all the global variables for modules
// to include in. All the global variables allocation is done in
// file <usb_Data.c>.
//
#ifndef _H_USB_EXTRN_ // To avoid multiple defining
#define _H_USB_EXTRN_ // start of external variables definition
// --------------------------------------------------------------------
#pragma DATA_SEG DEFAULT
// *********************************************************************
//
// Global Variables of USB Driver
//
// *********************************************************************
//
#ifndef _USB_G_DECL_
#define _USB_G_DECL_ extern
#endif
_USB_G_DECL_ muint8 EP_Resource[2][7]; // Endpoint buffer location Table [Configuration][Endpoint]
_USB_G_DECL_ muint8 gUSBFullSpeed; // 0=HS, 1=FS
_USB_G_DECL_ muint16 gUSBPacketSize; //
_USB_G_DECL_ muint16 gUSBDebug;
// code is placed in the main code area.
#pragma CODE_SEG DEFAULT
//#pragma CODE_SEG CodeForceToPseudo_ROM2 //for testing
// *********************************************************************
//
// EXPORTED FUNCTIONS FOR OTHER MODULES
//
// (Can be called by other modules like Application, Drivers...etc)
//
// *********************************************************************
#endif _H_USB_EXTRN_ // end of my external variables definition
//
// The end of file usb_extern.h
// *********************************************************************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -