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

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

?? csl_icache.h

?? 基于ti tms320c672x下音頻開發(fā)例子程式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** ===========================================================================
 *   @file  csl_icache.h
 *
 *   @path  $(CSLPATH)\ipmodules\icache\src
 *
 *   @desc  API header file for L1P ICACHE CSL
 *
 */  
 
/*  ===========================================================================
 *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004
 *
 *   Use of this software is controlled by the terms and conditions found in 
 *   the license agreement under which this software has been supplied.
 *   ==========================================================================
 */  

/* ===========================================================================
 *  Revision History
 *  ===============   
 *  28-Jan-2005 Ramitha Mathew File Created. 
 *
 * ============================================================================
 */

#ifndef _CSL_ICACHE_H_
#define _CSL_ICACHE_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <csl.h>
#include <cslr_icache.h> 
#include <soc.h>

/**
  * @brief No: of bytes/words to be invalidated
  */
typedef Uint32 CSL_IcacheCount;

/**
  * @brief memory location address to be invalidated
  */
typedef Uint32 CSL_IcacheAddr; 



/***************************************************************************\
*                 ENUMERATIONS                            
\***************************************************************************/

/**
 *  This enum is used to convey the information of the operating mode
 *  to be set using hardware control commands or the value returned
 *  using status query commands 
 */
typedef enum {

    /** 
     *  For the hardware control commands, this enumeration value is
     *  used to set the mode parameter associated with the control 
     *  command.For status query commands this enumeration value 
     *  tells that queried field is set cache enabled.
     */
    CSL_ICACHE_MODE_CACHE_ENABLE        =  2,

    /** 
     *  For the hardware control commands, this enumeration value is
     *  used to set the mode parameter associated with the control 
     *  command.For status query commands this enumeration value 
     *  tells that queried field is set cache freezed.
     */
    CSL_ICACHE_MODE_CACHE_FREEZE         =  3,

    /** 
     *  For the hardware control commands, this enumeration value is
     *  used to set the mode parameter associated with the control 
     *  command.For status query commands this enumeration value 
     *  tells that queried field is set cache bypassed.
     */

    CSL_ICACHE_MODE_CACHE_BYPASS         =  4
 
} CSL_IcacheMode;

/**
 * This enum is used to convey the information regarding RAM access
 * priority to be set using hardware control commands or the value returned 
 * using status query commands
 */
typedef enum {

    /** RAM access priority for I-Cache */
    CSL_ICACHE_PRIO_CACHE                = 0,
    
    /** RAM access priority for CSP slave port */
    CSL_ICACHE_PRIO_CSP                  = 1
    
} CSL_IcachePrio;


/**
 * This enum is used to issue a wait till the cache operation is complete 
 * in accordance with the hardware control command
 */
typedef enum {

  /** Return immediately without any wait */
  CSL_ICACHE_NO_WAIT                  = 0,
  
  /** Wait till the cache operation is done */
  CSL_ICACHE_WAIT                     = 1
  
} CSL_IcacheWait;


/**
 *  Status query commands that are supported by the L1P I-cache CSL.
 */
typedef enum {

    /** 
     * @brief Gets the current configured value PCC field of CSR register. 
     * @param (CSL_IcacheMode *)
     */
    CSL_ICACHE_QUERY_MODE               = 0,

    /** 
     * @brief Gets the current value of the Invalidate Word Count 
     *        field in the L1PICR register.  
     * @param (CSL_IcacheCount*) 
     */
    CSL_ICACHE_QUERY_INV_WORDCNT        = 1,

    /** 
     * @brief Gets the current value of the Invalidate Start Address
     *        field in the L1PSAR register.
     * @param (CSL_IcacheAddr)
     */
    CSL_ICACHE_QUERY_INV_STARTADDR      = 2,

    /** 
     * @brief Gets the current value of the IP field in the L1PICR register. 
     * @param (Uint8 *)
     */
    CSL_ICACHE_QUERY_INV_CACHE          = 3,
    
    /**
     * @brief Get the priority setting in P bit of MEMCSR
     * @param (Uint8 *)
     */
     CSL_ICACHE_QUERY_PRIO              = 4
     
} CSL_IcacheHwStatusQuery;


/**
 * Enumeration for L1P ICACHE Control commands
 */
typedef enum {
    
    /** 
     * @brief Command for enabling L1P I-cache
     * @param None      
     */
    CSL_ICACHE_CMD_CACHE_ENABLE       = 0,

    /** 
     * @brief Command for freezing I-cache  
     * @param None     
     */
    CSL_ICACHE_CMD_CACHE_FREEZE       = 1,

    /** 
     * @brief Command for bypassing I-cache 
     * @param None 
     */
    CSL_ICACHE_CMD_CACHE_BYPASS       = 2,

    /** 
     * @brief Command for setting the start address for the
     *        cache region to be invalidated 
     * @param CSL_IcacheAddr* 
     */
    CSL_ICACHE_CMD_INV_STARTADDR      = 3,

    /** 
     * @brief Command for setting the number of words to be invalidated
     *         starting from the Start Address. User has to to make a delay
     *         for the invalidation; if required
     * @param CSL_IcacheCount*
     *         
     */
    CSL_ICACHE_CMD_INV_BYTECNT        = 4,
    
    /** 
     * @brief Command for invalidating a specific I-cache line in 
     *        L1P I-cache. User has to to make a delay
     *         for the invalidation; if required 
     * @param CSL_IcacheAddr* 
     */
    CSL_ICACHE_CMD_INV_CACHELINE      = 5,
    
    /** 
     * @brief Command for invalidating the entire L1P I-cache
     *        User can make a request to wait till the Invalidation 
     *        completes along with the control command
     * @param CSL_IcacheWait* 
     */
    CSL_ICACHE_CMD_INV_CACHE          = 6    
    
    
} CSL_IcacheHwControlCmd;


/*********************************************************************\
*                 STRUCTURES                            
\*********************************************************************/


/** 
 *  The default value for CSL_IcacheHwSetup structure 
 *  Cache Mode - Cache enable
 */
#define CSL_ICACHE_HWSETUP_DEFAULTS { \
        CSL_ICACHE_MODE_CACHE_ENABLE, \
        CSL_ICACHE_PRIO_CSP          \
 }  


/**
 *  This structure is used to provide I-cache configuration parameters 
 *  to the function CSL_icacheHwSetup
 */
typedef struct CSL_IcacheHwSetup {
    
    /** The operating modes of the cache are CACHE ENABLE,
     *  CACHE FREEZE and CACHE BYPASS 
     */
    CSL_IcacheMode mode;
    
    /**
     * Determines the priority for RAM access between I-Cache and CSP Slave port
     */
    CSL_IcachePrio ramAccessPrio;
     
} CSL_IcacheHwSetup;


/**
 *   L1P ICACHE data object
 */
typedef struct CSL_IcacheObj {

    /** icache instance */
    CSL_InstNum             icacheNum;

    /** Pointer to the I-CACHE Register Overlay structure */                                            
    CSL_IcacheRegsOvly      regs;

} CSL_IcacheObj;


/** 
 *   Pointer to the L1P ICACHE Object structure
 */
typedef struct CSL_IcacheObj*    CSL_IcacheHandle;

/** 
 * This will have the base-address information for the peripheral instance 
 */
typedef struct {

    /** Base-address of the Configuration registers of the peripheral */
    CSL_IcacheRegsOvly   regs;
    
} CSL_IcacheBaseAddress;

/**
 * Icache Module specific parameters. Present implementation doesn't have
 * any module specific parameters.
 */
typedef struct {

    /** Bit mask to be used for module specific parameters.
     *  The below declaration is just a place-holder for future
     *  implementation.
     */
     CSL_BitMask16   flags;
     
} CSL_IcacheParam;

/** 
 * Icache module specific context information. Present implementation doesn't
 * have any Context information.
 */
typedef struct {

    /** Context information of Icache.
     *  The below declaration is just a place-holder for future
     *  implementation.
     */
    Uint16  contextInfo;
    
} CSL_IcacheContext; 

/** 
 * Icache Config structure
 */
typedef struct CSL_IcacheConfig {

    volatile Uint32 CSR;
    volatile Uint32 MEMCSR;
         
} CSL_IcacheConfig;



/**************************************************************************\
*  global function declarations
\**************************************************************************/

/** ============================================================================
 *   @n@b CSL_icacheInit
 *
 *   @b Description
 *   @n This is the initialization function for the icache CSL. This function 
 *      needs to be called before any other icache CSL functions are called. 
 *      This function is idem-potent. Currently, this function does not perform 
 *      anything.
 *
 *   @b Arguments
     @verbatim
            pContext    Pointer to module-context. As ICACHE doesn't have any 
                        context based information user is expected to pass NULL.

     @endverbatim
 *
 *   <b> Return Value </b>  CSL_Status
 *   @li                    CSL_SOK - Always returns
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None 
 *
 *   @b Modifies
 *   @n  None  
 *
 *   @b Example
 *   @verbatim
            CSL_Status      status;
            
            status = CSL_icacheInit(NULL);
     @endverbatim
 * =============================================================================
 */

CSL_Status CSL_icacheInit(
    CSL_IcacheContext    *pContext
);

/** ============================================================================
 *   @n@b CSL_icacheOpen
 *
 *   @b Description
 *   @n This Function populates the peripheral data object for the instance and
 *      returns handle to it
 *
 *   @b Arguments
 *   @verbatim
            pIcacheObj       Pointer to the data object for icache instance 
            icacheNum        Specifies the instance of the icache to be opened 
            pIcacheParam     Module specific parameter for icache instance 
            status           Status of the function call
      @endverbatim
 *
 *   <b> Return Value </b>  CSL_IcacheHandle
 *   @n                     Valid icache handle will be returned if
 *                          status value is equal to CSL_SOK.
 *
 *   <b> Pre Condition </b>
 *   @n  I-cache module has to be initialized
 *
 *   <b> Post Condition </b>
 *   @n     1.    The status is returned in the status variable. If status
 *                returned is
 *   @li            CSL_OK          Open call is successful
 *   @li            CSL_ESYS_FAIL   Open call failed
 *

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
秋霞av亚洲一区二区三| 久久精品视频免费观看| 精品三级在线看| 久久久国产午夜精品 | 日韩精品电影一区亚洲| 美女久久久精品| 成人在线一区二区三区| 在线亚洲人成电影网站色www| 精品视频一区三区九区| 精品福利一区二区三区免费视频| 国产精品私人影院| 午夜精品免费在线观看| 精品写真视频在线观看| 色香蕉久久蜜桃| 日韩欧美视频一区| **欧美大码日韩| 日本不卡视频一二三区| 成人黄色小视频| 91麻豆精品91久久久久同性| 国产亚洲一区字幕| 亚洲成人动漫在线观看| 高清国产一区二区| 欧美日韩aaaaaa| 国产欧美一区二区精品性色| 亚洲成av人片在www色猫咪| 国产一区二三区好的| 在线视频欧美区| 久久精品一区蜜桃臀影院| 午夜精品久久久久久久久久久| 国产馆精品极品| 在线不卡中文字幕播放| 国产精品久久久久久妇女6080 | 欧美一区二区大片| 国产精品第一页第二页第三页| 免费成人av资源网| 色综合中文字幕| 久久久精品欧美丰满| 亚洲h精品动漫在线观看| 成人黄色综合网站| 精品国产一区久久| 婷婷综合五月天| 91久久精品一区二区二区| 欧美国产在线观看| 久久精品国产99久久6| 欧美伊人久久久久久久久影院| 亚洲国产精品成人综合色在线婷婷| 日本欧美一区二区| 欧洲中文字幕精品| 综合分类小说区另类春色亚洲小说欧美 | 国内精品伊人久久久久av影院| 欧美色国产精品| 亚洲欧美日韩电影| 成人激情免费视频| 日本一区二区三区久久久久久久久不 | 色国产精品一区在线观看| 欧美国产禁国产网站cc| 激情文学综合丁香| 精品少妇一区二区三区免费观看 | 日韩精品最新网址| 日本欧洲一区二区| 欧美另类videos死尸| 亚洲精品中文在线| 99久久精品国产一区| 中文字幕在线观看不卡| 丰满岳乱妇一区二区三区| 久久精品一区四区| 国产一区二区三区久久久| 精品国产乱码久久久久久老虎| 男女男精品视频网| 欧美一区二区三区人| 五月婷婷久久综合| 777奇米四色成人影色区| 视频在线观看一区二区三区| 欧美怡红院视频| 亚洲午夜久久久久久久久电影网| 欧美又粗又大又爽| 亚洲影院在线观看| 欧美丝袜丝交足nylons| 午夜精品一区二区三区免费视频| 欧美日精品一区视频| 亚洲电影在线免费观看| 欧美日本韩国一区二区三区视频| 亚洲1区2区3区视频| 欧美人xxxx| 美女视频免费一区| 久久人人爽人人爽| 盗摄精品av一区二区三区| 国产精品人妖ts系列视频| 91一区二区三区在线观看| 亚洲欧美成人一区二区三区| 欧美日韩在线播放三区四区| 日本伊人精品一区二区三区观看方式| 91精品国产入口| 激情欧美一区二区三区在线观看| 久久久无码精品亚洲日韩按摩| 成人的网站免费观看| 亚洲人成伊人成综合网小说| 欧美视频在线一区| 奇米精品一区二区三区四区| 久久女同精品一区二区| 成人黄页在线观看| 亚洲第一电影网| 久久综合九色综合久久久精品综合| 国产91丝袜在线观看| 亚洲男同性恋视频| 欧美丰满一区二区免费视频| 激情五月播播久久久精品| 国产精品美女久久久久aⅴ国产馆| 99精品视频在线观看免费| 一区二区成人在线视频| 欧美私模裸体表演在线观看| 精品一区二区三区视频| 日韩一级视频免费观看在线| 国产福利一区二区三区视频在线| 日韩理论片网站| 欧美日韩国产三级| 国产精品18久久久久久久久| 中文字幕一区二区三区视频| 欧美专区日韩专区| 日本不卡不码高清免费观看| 欧美精品一区二区三区高清aⅴ| av在线这里只有精品| 亚洲亚洲精品在线观看| 精品国产乱码久久久久久闺蜜| 国产电影一区二区三区| 亚洲国产精品久久人人爱蜜臀 | 国产精品久久看| 欧美午夜一区二区| 国产精品资源在线| 亚洲精品一二三区| 久久精品亚洲麻豆av一区二区 | 亚洲一区二区在线观看视频| 精品欧美乱码久久久久久1区2区| 国产福利视频一区二区三区| 爽好久久久欧美精品| 91精品国产一区二区人妖| 国产a区久久久| 秋霞午夜av一区二区三区| 国产精品亲子乱子伦xxxx裸| 欧美一区在线视频| 成人一道本在线| 另类小说色综合网站| 国产精品私人影院| 日韩欧美国产1| 色综合天天天天做夜夜夜夜做| 黑人巨大精品欧美一区| 1024成人网| 精品成人一区二区| 丰满白嫩尤物一区二区| 亚洲综合一区二区三区| 国产日韩成人精品| 欧美日韩精品一二三区| 岛国av在线一区| 亚洲国产一区二区三区| 国产亚洲人成网站| 欧美日韩www| 欧美在线免费观看亚洲| 成人免费观看视频| 激情综合色综合久久综合| 亚洲一区二区3| 久久久久一区二区三区四区| 欧美二区乱c少妇| 成人va在线观看| 国产精品羞羞答答xxdd| 麻豆成人免费电影| 亚洲午夜三级在线| 自拍av一区二区三区| 久久蜜桃香蕉精品一区二区三区| 国产91在线|亚洲| 久久狠狠亚洲综合| 奇米精品一区二区三区四区| 亚洲在线成人精品| 中文字幕色av一区二区三区| 久久久精品综合| 久久一日本道色综合| 日韩欧美久久一区| 日本二三区不卡| 成人性生交大片免费看视频在线| 久久精品国产99国产精品| 人人爽香蕉精品| 日韩二区三区在线观看| 日韩av中文字幕一区二区三区| 日韩一区日韩二区| 日本一区二区三区dvd视频在线| 欧美日韩亚洲国产综合| 91久久香蕉国产日韩欧美9色| 国产另类ts人妖一区二区| 久久精品国产久精国产| 国产在线精品一区二区夜色| 麻豆91精品91久久久的内涵| 青青草国产成人99久久| 亚洲国产美国国产综合一区二区| 亚洲男人的天堂在线观看| 欧美日韩一区中文字幕| 精品视频在线免费看| 91久久线看在观草草青青| 欧美在线一区二区三区| 欧美三片在线视频观看 | 26uuu亚洲综合色| 欧美一区二区三区免费|