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

📄 oal_ilt.h

📁 SMDK2440A_CE5.0_20060703(官方终结版).rar 从此告别“恶意篡改”的开发板提供商的非规范BSP
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
//  Header: oal_ilt.h
//
//  This header define OAL interrupt latency timing module. Module code
//  implements functionality related to interrupt latency timing functionality.
//  It is used usually in development process.
//
//  Interaction with kernel/OS:
//      * IOCTL_HAL_ILTIMING
//
//  Interaction with other OAL modules
//      * g_oalILT  (interrupt handlers)
//      * OALTimerHiResTickSinceSysTick (timer)
//
#ifndef __OAL_ILT_H
#define __OAL_ILT_H

#if __cplusplus
extern "C" {
#endif

//------------------------------------------------------------------------------
//
//  Type:   OAL_ILT_STATE
//
//  Timer module component control block - it encapsulate all OAL internal
//  module variables which can be used by other modules.
//
typedef struct {
    BOOL active;                     // Is IL timing active?
    UINT16 interrupts;               // IL interrupt counter
    UINT32 isrTime1;                 // IL start of ISR
    UINT32 isrTime2;                 // IL end of ISR
    UINT32 savedPC;                  // IL saved PC
    UINT32 counter;                  // IL counter
    UINT32 counterSet;               // IL counter set value
} OAL_ILT_STATE, *POAL_ILT_STATE;

//------------------------------------------------------------------------------
//
//  Extern:     g_oalILT
//
//  Exports the OAL ILT control block. This is global instance of internal
//  ILT module variables.
//
extern OAL_ILT_STATE g_oalILT;

//------------------------------------------------------------------------------
//
//  Function:   OALIoCtlHalILTiming
//
//  This function is called by OEMIoControl for IOCTL_HAL_ILTIMING code.
//
BOOL OALIoCtlHalILTiming(UINT32, VOID*, UINT32, VOID*, UINT32, UINT32*);

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

#if __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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