?? xsostapi.h
字號:
/******************************************************************************
**
** COPYRIGHT (C) 2000, 2001 Intel Corporation.
**
** This software as well as the software described in it is furnished under
** license and may only be used or copied in accordance with the terms of the
** license. The information in this file is furnished for informational use
** only, is subject to change without notice, and should not be construed as
** a commitment by Intel Corporation. Intel Corporation assumes no
** responsibility or liability for any errors or inaccuracies that may appear
** in this document or any software that may be provided in association with
** this document.
** Except as permitted by such license, no part of this document may be
** reproduced, stored in a retrieval system, or transmitted in any form or by
** any means without the express written consent of Intel Corporation.
**
** FILENAME: XsOstApi.h
**
** PURPOSE: Contains the exposed interface to the Operating System
** Timer Functions.
**
** LAST MODIFIED: $Modtime: 7/17/03 1:01p $
******************************************************************************/
#ifndef _xsostapi_h_
#define _xsostapi_h_
/*
************************************************************************************
* FUNCTION PROTOTYPES
************************************************************************************
*/
VOID XsOstSWInitX (OSTContextT *ctxP);
VOID XsOstSWInit(VOID);
extern UINT32 OSTWaitUs (UINT32 usecs);
extern UINT32 OSTWaitMs(UINT32 msecs);
extern UINT32 OSTWaitS(UINT32 secs);
extern UINT32 XsOstGetFreeChannel(void);
extern UINT32 XsOstEnableInterrupt(UINT channel);
extern UINT32 XsOstDisableInterrupt(UINT channel);
extern UINT32 XsOstSetMatchRegister (UINT reg, UINT32 value);
extern UINT32 XsOstSetupTimer(OSTCallBackFnPT callback, PVOID param);
extern UINT32 XsOstCallTimer(UINT32 msecs, OSTCallBackFnPT callback, PVOID param);
extern void XsOstFreeChannel(UINT32 channel);
extern void XsOstInterruptHandler(void);
extern UINT32 XsOstCleanupTimer(void);
extern UINT32 XsOstComputeTicks(UINT32 usecs);
extern void XsOstOnceTest(PVOID, PCHAR);
extern void XsOstMultipleTest(PVOID, PCHAR);
extern void XsOstContinuousTest(PVOID, PCHAR);
#endif //_xsostapi_h_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -