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

📄 csl_sysdata.h

📁 TI的DM6446的硬件平台搭建的相关例子
💻 H
字号:
/*  ============================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005                 
 *                                                                              
 *   Use of this software is controlled by the terms and conditions found in the
 *   license agreement under which this software has been supplied.             
 *   ===========================================================================
 */
 
#ifndef _CSL_SYSDATA_H_
#define _CSL_SYSDATA_H_

#include <csl.h>
#include <csl_types.h>

#include <csl_resId.h>
#include <csl_intc.h>

typedef struct CSL_SysDataObj {

    CSL_AltRouteHandler             altRouteHandler;    /* alternate base address router */
    CSL_Phy2VirtHandler             p2vHandler;         /* physical to virtual address mapping routine */
    CSL_Virt2PhyHandler             v2pHandler;         /* virtual to physical address mapping routine */
    Uint32                      versionId;          /* CSL s/w version ID */
    Uint32                      chipId;             /* CSL chip ID */
    void *                          chipRegs;           /* CSL chip Overlay structure, to be initialized
                                                         * in CSL_chipInit() */
    CSL_Xio                         xioInUse;           /* Shared-pin allocation bit-mask */
  
    CSL_BitMask32                   resInUse[(CSL_CHIP_NUM_RESOURCES + 31) / 32]; /* in-use allocMask */
    CSL_BitMask32                   initDone[(CSL_CHIP_NUM_MODULES   + 31) / 32]; /* init-done flags */

/* Include one data pointer for each CSL module
 * that needs additional context memory here under. The
 * actual memory is claimed during CSL Initialization of
 * that particular CSL module.
 */

     CSL_BitMask32 *                intcAllocMask;
     CSL_IntcEventHandlerRecord *	intcEventHandlerRecord;

} CSL_SysDataObj;

typedef CSL_SysDataObj *    CSL_SysDataHandle;
extern  CSL_SysDataHandle   CSL_sysDataHandle;


#endif /* _CSL_SYSDATA_H_ */

⌨️ 快捷键说明

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