亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mk_extern.h

?? 飛思卡爾 MC9S12UF32做U盤的例子!
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************
*                                                  
*  (c) copyright Freescale Semiconductor Hong Kong Ltd. 2004
*  ALL RIGHTS RESERVED
*                                                                       
*******************************************************************************  
** THIS  CODE IS ONLY INTENDED AS AN EXAMPLE FOR DEMONSTRATING THE FREESCALE **
** MICROCONTROLLERS.  IT  HAS ONLY BEEN GIVEN A MIMIMUM LEVEL OF TEST. IT IS **
** PROVIDED  'AS  SEEN'  WITH  NO  GUARANTEES  AND  NO  PROMISE  OF SUPPORT. **
*******************************************************************************  
*                                                                           
* FILE:         mk_extern.h	 	REVISION 0.2
*  
* DESCRIPTION:  Application code is placed here.
* 			
*
* COMPILER: Metrowerks                     VERSION: ADS v1.2 (initial version)           
*                                          VERSION: ADS v2.0 (Demo version)
*
* UPDATED HISTORY:
*
* REV   YYYY.MM.DD  AUTHOR        DESCRIPTION OF CHANGE
* ---   ----------  ------        --------------------- 
* 0.0   2002.05.31  Keny Chen     Initial version
* 0.1   2002.09.12  Kenny Lam     Demo beta version
* 0.2   2004.04.12  Kenny Lam     Demo version
*
******************************************************************************/                                                                        
/* Freescale  is  not  obligated  to  provide  any  support, upgrades or new */
/* releases  of  the Software. Freescale may make changes to the Software at */
/* any time, without any obligation to notify or provide updated versions of */
/* the  Software  to you. Freescale expressly disclaims any warranty for the */
/* Software.  The  Software is provided as is, without warranty of any kind, */
/* either  express  or  implied,  including, without limitation, the implied */
/* warranties  of  merchantability,  fitness  for  a  particular purpose, or */
/* non-infringement.  You  assume  the entire risk arising out of the use or */
/* performance of the Software, or any systems you design using the software */
/* (if  any).  Nothing  may  be construed as a warranty or representation by */
/* Freescale  that  the  Software  or  any derivative work developed with or */
/* incorporating  the  Software  will  be  free  from  infringement  of  the */
/* intellectual property rights of third parties. In no event will Freescale */
/* be  liable,  whether in contract, tort, or otherwise, for any incidental, */
/* special,  indirect, consequential or punitive damages, including, but not */
/* limited  to,  damages  for  any loss of use, loss of time, inconvenience, */
/* commercial loss, or lost profits, savings, or revenues to the full extent */
/* such  may be disclaimed by law. The Software is not fault tolerant and is */
/* not  designed,  manufactured  or  intended by Freescale for incorporation */
/* into  products intended for use or resale in on-line control equipment in */
/* hazardous, dangerous to life or potentially life-threatening environments */
/* requiring  fail-safe  performance,  such  as  in the operation of nuclear */
/* facilities,  aircraft  navigation  or  communication systems, air traffic */
/* control,  direct  life  support machines or weapons systems, in which the */
/* failure  of  products  could  lead  directly to death, personal injury or */
/* severe  physical  or  environmental  damage  (High  Risk Activities). You */
/* specifically  represent and warrant that you will not use the Software or */
/* any  derivative  work of the Software for High Risk Activities.           */
/* Freescale  and the Freescale logos are registered trademarks of Freescale */
/* Semiconductor Inc.                                                        */ 
/*****************************************************************************/

#include	"frDefs.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 <mk_Data.c>.
//

#ifndef _H_EXTVARS_		// To avoid multiple defining
#define _H_EXTVARS_		// start of external variables definition


// *********************************************************************
//
//                   Exported Mini-Kernel Specific Constant
//
// *********************************************************************


// --------------------------------------------
//     ***  Compiler Options for Mini-Kernel
// --------------------------------------------


//#define	__kEnableSciDebugger__		1	// Enable the SCI Debugger sub-module
 


// --- Result Code Definition ---------------------------------------

#define	kQueryYes			1		// The answer to query is Yes
#define	kQueryNo			0		// The answer to query is No

#define	kNoError			0		// Reporting as No Error 
#define	kErrGeneral			-1		// Reporting as General Error 
#define	kErrWrongParm		-2		// Reporting as Wrong Parameters
#define	kErrDeviceBusy		-3		// Device is busy now
#define	kErrOutOfSpace		-4		// Running out of memory space.
#define	kErrElemNotFound	-5		// Element not found.
#define	kErrSrvNotAvail		-6		// Service is not available
#define	kErrNotReady		-7		// Service is not ready

#define kUnknownError		-99		// Unknown reason error


// *** Event Source ID number definitions ****************************
#define	kEvtDebugService			1	// Debug Service event
#define	kEvtSCIService				2	// SCI port interface event
#define	kEvtSPIService				3	// SPI port interface event
#define	kEvtUSBRequests				4	// USB event (Class/Vendor commands)
#define	kEvtUSBData					5	// USB event (Data Tx/Rx of non-Control endpoints)
#define	kEvtAtaService				6	// ATA/PI protocol generated event
#define	kEvtCFDrv					7	// Compact Flash driver generated event
#define	kEvtSMDrv					8	// Smart Media driver generated event
#define	kEvtSDDrv					9	// Secure Digital driver generated event
#define	kEvtMSDrv					10	// Memory Stick driver generated event
#define	kEvtIDEDrv					11	// IDE device driver generated event


// *** System Shared Resource ID definitions ****************************
#define	kRsrcGPIO					1	// GPIO ports
#define	kRsrcTIM					2	// System Timer module
#define	kRsrcSCI					3	// SCI interface module
#define	kRsrcSPI					4	// SPI interface module
#define	kRsrcUSB					5	// USB interface module
#define	kRsrcCF						6	// Compact Flash interface module
#define	kRsrcSM						7	// Smart Media interface module
#define	kRsrcSD						8	// Secure Digital interface module
#define	kRsrcMS						9	// Memory Stick interface module
#define	kRsrcIDE					10	// IDE device interface module


// *** Service ID number definitions *********************************
#define	kSrvSysTimer				1	// System Timer Service ID
#define	kSrvEvtHook					2	// Event/Hook Service ID
#define	kSrvDebug					3	// Debugger Service ID
#define	kSrvGPIO					4	// GPIO Port Service ID
#define	kSrvSCI						5	// SCI Port Service ID
#define	kSrvSPI						6	// SPI Port Service ID




// --------------------------------------------------------------------

#pragma DATA_SEG DEFAULT

// *********************************************************************
//
// 					Global Variables of mini-kernel
//
// *********************************************************************
//

// -------------------------------------------
// To create the Service List
extern muint8		gpServiceTable[];

// -------------------------------------------
// To create the Event Source List 
extern msEventSourceElem	gpEventSourceTable[];


// *********************************************************************************
// Global variables for mini-kernel Timer
#ifdef	__UseSysTick__		// Check if System Timer is enabled

extern muint16		gSystemTime;			// System Ticker Counter (unit= 1ms)

// The Sys Timer Hook Function List
extern pHookFunc	gpSysTimerHookTable[];
extern muint16		gpTimerHookIntervalTable[];
extern muint16		gpTimerHookCountTable[];

#endif	__UseSysTick__		// end if -- Check if System Timer is required
// *********************************************************************************






// code is placed in the main code area.
#pragma CODE_SEG	DEFAULT



// *********************************************************************
//
//	               EXPORTED FUNCTIONS FOR OTHER MODULES
//
//   (Can be called by other modules like Application, Drivers...etc)
//
// *********************************************************************




// ==================================================================
//   MK_InitMcu() -
//
//     To init. the MCU in the very first time after reset
// ==================================================================
void MK_InitMcu(void);



// ==================================================================
//   MK_InitKernel() -
//
//     To init. Mini-Kernel. This should be called in <StartSys.c>
// ==================================================================
void MK_InitKernel(void);



// ---------------------------------------------------------------------
//  Kernel Specific Funcions

// ==================================================================
//   MK_RegService() -
//
//     To register the shared Service of Mini-Kernel.
//
//
//	Input -		serviceID = the ID of service to be registered.
//
//	Output - 	nil
//
//	Function returns the error code of the result.
//
// 
mErrorCode	MK_RegService(muint8 serviceID);

// ==================================================================
//   MK_RegService() -
//
//     To register the shared Service of Mini-Kernel.
//
//
//	Input -		serviceID = the ID of service to be registered.
//
//	Output - 	nil
//
//	Function returns the error code of the result.
//
// 
mErrorCode	MK_QueryService(muint8 serviceID);




// ==================================================================
//   MK_RegEventSource() -
//
//     To register the shared Service of Mini-Kernel.
//
//
//	Input -		eventSourceID =  event source ID to be registered.
//				eventHookList =	 pointer to related hook function table
//
//	Output - 	nil
//
//	Function returns the error code of the result.
//
// 
mErrorCode	MK_RegEventSource(muint8 eventSourceID, pHookFunc *eventHookList);






// ==================================================================
//   MK_UnRegEventSource() -
//
//     To remove an Event Source from the event sourece list.
//
//
//	Input -		eventSourceID =  event source ID to be removed.
//
//	Output - 	nil
//
//	Function returns the error code of the result.
//
// ==================================================================
mErrorCode	MK_UnRegEventSource(muint8 eventSourceID);






// ==================================================================
//   MK_AttachEventHook() -
//
//     To attach a hook function to assigned event source.
//
//
//	Input -		eventSourceID =  event source ID to be registered.
//				myEventHook =	 pointer to hook function
//
//	Output - 	nil
//
//	Function returns the error code of the result.
//
// 
mErrorCode	MK_AttachEventHook(muint8 eventSourceID, pHookFunc myEventHook );





// ==================================================================

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品综合久久久久久8888| 丰满白嫩尤物一区二区| 国产精品18久久久久久vr| 欧美自拍偷拍午夜视频| 国产调教视频一区| 亚洲成人综合视频| 91麻豆成人久久精品二区三区| 精品久久久久99| 亚洲大片免费看| 欧美综合亚洲图片综合区| 国产精品欧美久久久久无广告| 精油按摩中文字幕久久| 欧美一区二区三区电影| 亚洲成人免费视| 在线日韩av片| 亚洲一区精品在线| 成人avav影音| 国产精品白丝在线| 成人av资源在线观看| 中日韩av电影| 成人永久aaa| 欧美极品xxx| 成人激情图片网| 国产精品理论片在线观看| 懂色中文一区二区在线播放| 久久精品一区四区| 岛国精品在线播放| 国产精品网站在线| av高清不卡在线| 亚洲少妇30p| 欧美做爰猛烈大尺度电影无法无天| 亚洲欧美怡红院| 色综合久久66| 婷婷国产v国产偷v亚洲高清| 欧美日韩第一区日日骚| 日本中文字幕一区二区有限公司| 555www色欧美视频| 久久精品免费观看| www国产成人免费观看视频 深夜成人网| 麻豆精品视频在线| 久久久久久电影| 99久久精品99国产精品| 一区二区三区高清在线| 欧美绝品在线观看成人午夜影视| 日韩av电影天堂| 狠狠网亚洲精品| 欧美精品aⅴ在线视频| 91麻豆精品国产91久久久更新时间 | 成人爱爱电影网址| 精东粉嫩av免费一区二区三区| 日本欧美韩国一区三区| 日本怡春院一区二区| 国产综合久久久久久久久久久久| 九九国产精品视频| 99久久婷婷国产综合精品电影| 成人福利电影精品一区二区在线观看| www.66久久| 91久久精品一区二区| 精品99一区二区| 日韩视频国产视频| 午夜免费欧美电影| 久久久亚洲精品石原莉奈| 麻豆专区一区二区三区四区五区| 欧美嫩在线观看| 国产精品一区二区不卡| 精品国产乱码久久久久久1区2区 | 日韩一区二区在线观看| 欧美视频一区二区| 久久久精品国产免费观看同学| 日本不卡高清视频| 亚洲精品大片www| 日本女优在线视频一区二区| 9i在线看片成人免费| 日韩国产欧美在线视频| 国产精品久久久久久久久久免费看| 欧美三级一区二区| 成人午夜短视频| 日韩**一区毛片| 国产精品美女久久久久久久久| 在线播放一区二区三区| 99精品一区二区三区| 免费在线看一区| 中文字幕视频一区| 欧美电影免费观看完整版| 92精品国产成人观看免费| 极品少妇xxxx精品少妇| 亚洲va在线va天堂| 亚洲欧洲一区二区在线播放| 日韩免费福利电影在线观看| 欧美视频在线播放| 99久久99久久久精品齐齐| 韩日精品视频一区| 蜜臀av性久久久久蜜臀av麻豆| 亚洲三级免费观看| 久久久久亚洲蜜桃| 欧美一激情一区二区三区| 色久综合一二码| 白白色 亚洲乱淫| 国产精品18久久久久久vr| 奇米色777欧美一区二区| 亚洲福利视频一区| 亚洲一区二区欧美日韩| 国产精品毛片久久久久久久| 久久日韩粉嫩一区二区三区| 欧美成人一区二区| 欧美一区二区三区视频在线观看 | 偷拍与自拍一区| 亚洲一区二区3| 亚洲精品乱码久久久久久| 中文字幕综合网| 综合久久久久久| 亚洲欧美在线视频| 国产精品初高中害羞小美女文| 中文成人综合网| 日本一区二区三区在线不卡| 国产日韩精品一区| 亚洲国产精品传媒在线观看| 日本一区免费视频| 国产精品久久久久影院亚瑟| 亚洲欧洲成人精品av97| 中文字幕av一区 二区| 国产喂奶挤奶一区二区三区| 久久精品免视看| 国产欧美精品一区二区色综合朱莉| 久久精品在线观看| 国产精品高潮久久久久无| 中文字幕一区二区视频| 一区二区三区四区精品在线视频| 亚洲九九爱视频| 天天色综合成人网| 久久精品99久久久| 国产成人啪午夜精品网站男同| 大陆成人av片| 天堂va蜜桃一区二区三区| 天天影视涩香欲综合网| 久久99精品久久久久久动态图 | 蜜桃av一区二区在线观看| 午夜精品久久久久影视| 亚洲欧洲日本在线| 国产精品日韩成人| 一区二区三区在线不卡| 成人欧美一区二区三区小说| 亚洲精品国产第一综合99久久 | 国产精品 欧美精品| 日韩不卡一二三区| 国产精品77777| 91香蕉视频mp4| 91在线观看美女| 777奇米成人网| 中文字幕巨乱亚洲| 亚洲一区免费观看| 免费一级欧美片在线观看| 美女一区二区视频| 国产一区二区成人久久免费影院| 午夜精品久久久久久久蜜桃app| 91在线一区二区三区| 日韩不卡免费视频| 蜜臀va亚洲va欧美va天堂| 久久精工是国产品牌吗| 懂色av中文字幕一区二区三区| 色综合天天综合网天天狠天天| 国产欧美日韩另类一区| 欧美一级高清片| 91香蕉视频污在线| 激情欧美日韩一区二区| 色综合久久中文综合久久牛| 精品国产免费久久| 亚洲男女一区二区三区| 国产精品一区二区免费不卡| 在线成人午夜影院| 亚洲三级在线观看| 国产91丝袜在线播放九色| 在线播放欧美女士性生活| 亚洲天堂免费在线观看视频| 国产一区啦啦啦在线观看| 欧美日韩国产系列| 最新不卡av在线| 成人短视频下载| 久久色视频免费观看| 日本网站在线观看一区二区三区| 色综合久久六月婷婷中文字幕| 中文字幕二三区不卡| 久久福利资源站| 欧美一区二区成人| 亚洲国产aⅴ成人精品无吗| 91麻豆免费看片| 亚洲视频免费在线观看| 99精品黄色片免费大全| 欧美激情艳妇裸体舞| 国产九九视频一区二区三区| 欧美成人午夜电影| 精品在线观看免费| 久久综合色天天久久综合图片| 久久你懂得1024| 久久97超碰国产精品超碰| 日韩一区二区三区视频| 日韩成人dvd| 91精品国产aⅴ一区二区| 天天影视网天天综合色在线播放| 欧美日韩精品一二三区|