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

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

?? csl_emif.h

?? ccs下對(duì)dm6446的測(cè)試程序
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/*  ============================================================================
 *   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.             
 *   ===========================================================================
 */ 

/** @file csl_emif.h
 *
 *  @brief    Header file for functional layer of CSL
 *
 *    Path: \\(CSLPATH)\\ipmodules\\emifs\\src
 *
 * Description
 *    - The different enumerations, structure definitions
 *      and function declarations
 *
 * Modification 1
 *    - Created on: 10/6/2004
 *    - Reason: created the sources
 *
 * @date 10th June, 2004
 * @author Santosh Narayanan.
 *
 */

/** @mainpage EMIF CSL 3.x
 *
 * @section Introduction
 *
 * @subsection xxx Purpose and Scope
 * The purpose of this document is to identify a set of common CSL APIs for
 * the EMIF module across various devices. The CSL developer is expected to
 * refer to this document while designing APIs for these modules. Some of the
 * listed APIs may not be applicable to a given EMIF module. While other cases
 * this list of APIs may not be sufficient to cover all the features of a
 * particular EMIF Module. The CSL developer should use his discretion designing
 * new APIs or extending the existing ones to cover these.
 *
 * @subsection aaa Terms and Abbreviations
 *   -# CSL:  Chip Support Library
 *   -# API:  Application Programmer Interface
 *
 * @subsection References
 *    -# CSL-001-DES, CSL 3.x Design Specification DocumentVersion 1.02
 *    -# EMIF_SPEC, EMIF Module Specifications DocumentVersion 2.1.2
 *
 */

/* =============================================================================
 *  Revision History
 *  ===============
 *  27-Aug-2004  brn      Updated for the new CSL architecture
 *  11-Oct-2004  brn      Updated with the code review comments.
 *                        Added header for CSL_pwmInit() function.
 * =============================================================================
 */

#ifndef _CSL_EMIF_H_
#define _CSL_EMIF_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <cslr.h>
#include <soc.h>
#include <csl_error.h>
#include <csl_types.h>
#include <cslr_emif.h>


/**************************************************************************\
* EMIF global macro declarations
\**************************************************************************/

/** Constants for passing parameters to the EMIF HwSetup function.
 */

/** For disabling the Self Refresh mode of SDRAM          */
#define CSL_EMIF_SELF_REFRESH_DISABLE                   (0)

/** For enabling the Self Refresh mode of SDRAM           */
#define CSL_EMIF_SELF_REFRESH_ENABLE                    (1)

/** For disabling the Power down mode of SDRAM           */
#define CSL_EMIF_POWER_DOWN_DISABLE                     (0)

/** For enabling the Power down mode of SDRAM           */
#define CSL_EMIF_POWER_DOWN_ENABLE                      (1)

/** For disabling the Refresh during Power down mode of SDRAM  */

#define CSL_EMIF_PDWR_DISABLE                           (0)

/** For enabling the Refresh during Power down mode of SDRAM  */
#define CSL_EMIF_PDWR_ENABLE                            (1)

/** For disabling the SDRAM narrow mode */
#define CSL_EMIF_NM_DISABLE                             (0)

/** For enabling the SDRAM narrow mode */
#define CSL_EMIF_NM_ENABLE                              (1)

/** For disabling the DLL select for DDR1 SDRAM  */
#define CSL_EMIF_DDR_DLL_DISABLE                        (1)

/** For enabling the DLL select for DDR1 SDRAM  */
#define CSL_EMIF_DDR_DLL_ENABLE                         (0)

/** For de-selecting Strobe mode for Async banks */
#define CSL_EMIF_ASYNC_SS_DISABLE                       (0)

/** For selecting Strobe mode for Async banks */
#define CSL_EMIF_ASYNC_SS_ENABLE                        (1)

/** For disabling the Extended Wait mode for Async banks */
#define CSL_EMIF_ASYNC_EW_DISABLE                       (0)

/** For enabling the Extended Wait mode for Async banks */
#define CSL_EMIF_ASYNC_EW_ENABLE                        (1)

/** For disabling the TAPV field of DDR PHY Control Register */
#define CSL_EMIF_DDR_TAPV_DISABLE                       (0)

/** For enabling the TAPV field of DDR PHY Control Register */
#define CSL_EMIF_DDR_TAPV_ENABLE                        (1)

/** For disabling NAND FLASH on chip select 5 */
#define CSL_EMIF_CS5_NAND_DISABLE                       (0)

/** For enabling NAND FLASH on chip select 5 */
#define CSL_EMIF_CS5_NAND_ENABLE                        (1)

/** For disabling NAND FLASH on chip select 4 */
#define CSL_EMIF_CS4_NAND_DISABLE                       (0)

/** For enabling NAND FLASH on chip select 4 */
#define CSL_EMIF_CS4_NAND_ENABLE                        (1)

/** For disabling NAND FLASH on chip select 3 */
#define CSL_EMIF_CS3_NAND_DISABLE                       (0)

/** For enabling NAND FLASH on chip select 3 */
#define CSL_EMIF_CS3_NAND_ENABLE                        (1)

/** For disabling NAND FLASH on chip select 2 */
#define CSL_EMIF_CS2_NAND_DISABLE                       (0)

/** For enabling NAND FLASH on chip select 2 */
#define CSL_EMIF_CS2_NAND_ENABLE                        (1)

/** Default wait Polarity low */
#define CSL_EMIF_WAIT_POLARITY_LOW                      (0)

/* These are the definitions for Deafault Hwsetup function */
/* Default wait Polarity high */
#define CSL_EMIF_WAIT_POLARITY_HI                       (1)

/* Chip Selsct low */
#define CSL_EMIF_CHIP_SEL_LOW                           (0)

/* Chip Selsct High */
#define CSL_EMIF_CHIP_SEL_HI                            (1)

/* Default max wait */
#define CSL_EMIF_MAX_WAIT                               (0x80)

/* Default DDR refresh threshold */
#define CSL_EMIF_REFRESH_TRESH                          (0)

/* Default value for write setup cycles hold */
#define CSL_EMIF_WRITE_SETUP                            (0xf)

/* Default refresh rate */
#define CSL_EMIF_REF_RATE                               (16)

/* Default value for write hold */
#define CSL_EMIF_WRITE_HOLD                             (0x3f)

/* Default value for read setup cycles hold */
#define CSL_EMIF_READ_SETUP                             (7)

/* Default value for read hold */
#define CSL_EMIF_READ_HOLD                              (3)

/* Default value for train */
#define CSL_EMIF_TRAIN                                  (0xFFFF)

/* Default Async size */
#define CSL_EMIF_ASYN_SIZE                              (1)



/**************************************************************************\
* EMIF global typedef declarations
\**************************************************************************/

/** @brief This Object contains the reference to the instance of EMIF opened
 *  using the @a CSL_emifOpen().
 *
 *  The pointer to this, is passed to all EMIF CSL APIs.
 */
typedef struct CSL_EmifObj {
    /** This is a pointer to the registers of the instance of EMIF
     *  referred to by this object
     */
    CSL_EmifRegsOvly  regs;

    /** This is the instance of EMIF being referred to by this object  */
    CSL_InstNum perNum;

}CSL_EmifObj;

/** @brief this is a pointer to @a CSL_EmifObj and is passed as the first
 *  parameter to all EMIF CSL APIs
 */
typedef struct CSL_EmifObj *CSL_EmifHandle;

/** @brief SDRAM Configuration structure.
 *
 * All fields needed for SDRAM Bank configuration are present in this structure.
 */
typedef struct {
    /** Self Refresh mode: 0==> No refresh, 1==> Self Refresh*/
    Uint16 selfRefresh;

    /** Power down mode: 0==> No power down, 1==> Power down mode */
    Uint16 powerDown;

    /** Power down with Refresh: 0==> No Autorefresh, 1==> Exit power down and
     * perform autorefresh
     */
    Uint16 pdwr;

    /**  EMIF data bus width: 0==> 32 bit, 1==> 16 bit   */
    Uint16 narrowMode;

    /** Disable DLL for DDR SDRAM: 0==> Enable, 1==> Disable */
    Uint16 disableDdrDll;

    /** Bit 13 Enable: 0==> Disable Bit 13, 1==> Enable Bit 13 */
    Uint16 bit13Enable;

    /** CAS Latency */
    Uint16 casLatency;

    /** Bit 9-11 Enable: 0==> Disable, 1==> Enable */
    Uint16 bit911Enable;

    /** Number of Internal SDRAM banks */
    Uint16 intBank;

    /** External SDRAM bank Setup: 0==>CS0 used for SDRAM,
     * 1==>CS0 & CS1 used for SDRAM
     */
    Uint16 extBank;

    /** Page Size of the internal SDRAM devices: 0==>256-word, 1==> 512-word,
     *  2==>1024-word, 3==>2048-word
     */
    Uint16 pageSize;

} CSL_EmifSdramConfig;

/** @brief SDRAM Refresh Control structure.
 *
 * All fields needed for SDRAM Refresh control are present in this structure.
 */
typedef struct {
    /** DDR Refresh Threshold */
    Uint16 ddrRefreshThresh;

    /** Refresh Rate */
    Uint16 refreshRate;

} CSL_EmifSdramRefreshControl;

/** @brief SDRAM Timing structure.
 *
 * All fields needed for SDRAM Timing are present in this structure.
 */
typedef struct {
    /** Specifies TRFC value: Minimum number of EMIF cycles from Refresh or
     *  Load command to Refresh or Activate command, minus one
     */
    Uint16 trfc;

    /** Specifies TRP value: Minimum number of EMIF cycles from Pre-charge to
     *  Active or Refresh command, minus one
     */
    Uint16 trp;

    /** Specifies TRCD value: Minimum number of EMIF cycles from Active to
     *  Read or Write command, minus one
     */
    Uint16 trcd;

    /** Specifies TWR value: Minimum number of EMIF cycles from last write
     *  transfer to Pre-charge command, minus one
     */
    Uint16 twr;

    /** Specifies TRAS value: Minimum number of EMIF cycles from Activate to
     *  Pre-charge command, minus one
     */
    Uint16 tras;

    /** Specifies TRC value: Minimum number of EMIF cycles from Activate
     *  command to Activate command, minus one
     */
    Uint16 trc;

    /** Specifies TRRD value: Minimum number of EMIF cycles from Activate
     *   command to Activate command for a differnt bank, minus one
     */
    Uint16 trrd;

    /** Specifies the minimum number of EMIF clock cycles from Self refresh
     *  exit to any command, minus one
     */
    Uint16 txs;

} CSL_EmifSdramTiming;

/** @brief Asynchronous Wait Cycle Configuration structure
 *
 * All fields needed for Async Wait Cycle configuration are present in this structure.
 */
typedef struct {
    /** Wait polarity for pad_wait_i[3]*/
    Uint16 wp3;

    /** Wait polarity for pad_wait_i[2]*/
    Uint16 wp2;

    /** Wait polarity for pad_wait_i[1]*/
    Uint16 wp1;

    /** Wait polarity for pad_wait_i[0]*/
    Uint16 wp0;

    /** pad_wait_i map bits for chip select 5 */
    Uint16 cs3Wait;

    /** pad_wait_i map bits for chip select 4 */
    Uint16 cs2Wait;

    /** pad_wait_i map bits for chip select 3 */
    Uint16 cs1Wait;

    /** pad_wait_i map bits for chip select 2 */
    Uint16 cs0Wait;

    /** Maximum external wait cycles */
    Uint16 maxExtWait;

} CSL_EmifAsyncWaitCycleConfig;

/** @brief Asynchronous Bank Configuration structure
 *
 * All fields needed for async bank configuration are present in this structure.
 */
typedef struct {
    /** Select strobe mode */
    Uint16 selectStrobe;

    /** Extend wait mode */
    Uint16 extWait;

    /** Write strobe setup cycles */
    Uint16 writeSetup;

    /** Write strobe duration cycles */
    Uint16 writeStrobe;

    /** Write strobe hold cycles */
    Uint16 writeHold;

    /** Read strobe setup cycles */
    Uint16 readSetup;

    /** Read strobe duration cycles */
    Uint16 readStrobe;

    /** Read strobe hold cycles */
    Uint16 readHold;

    /** Turnaround cycles */
    Uint16 turnAround;

    /** Asyncronous Bank size */
    Uint16 asyncSize;

} CSL_EmifAsyncBankConfig;

/** @brief  DDR PHY Control Register structure
 *
 *  All fields needed for DDR PHY Control are present in this structure.
 */
typedef struct {
    /** Enable the TAP values for the EMIF Retiming manager */
    Uint16 tapvEnable;

    /** TAP value */
    Uint16 tapv;

    /** RTM PHY training time */
    Uint16 train;

} CSL_EmifDdrPhyControl;

/** @brief  NAND FLASH Control Register structure
 *
 *  All fields needed for NAND FLASH Control are present in this structure.
 */
typedef struct {
    /** Chip select 5 Nand */
    Uint16 cs5nand;

    /** Chip select 4 Nand */
    Uint16 cs4nand;

    /** Chip select 3 Nand */
    Uint16 cs3nand;

    /** Chip select 2 Nand */
    Uint16 cs2nand;

} CSL_EmifNandFlashControl;

/** @brief This has all the fields required to configure EMIF at Power Up
 *  (After a Hardware Reset) or a Soft Reset
 *
 *  This structure is used to setup or obtain existing setup of
 *  EMIF using @a CSL_emifHwSetup() & @a CSL_emifGetHwSetup() functions
 *  respectively.
 */
typedef struct {
    /** Structure for Async Wait Cycle configuration */
    CSL_EmifAsyncWaitCycleConfig  asyncWaitCycleConfig;

    /** Structure for SDRAM Refresh control */
    CSL_EmifSdramRefreshControl emifSdramRefreshControl;

    /** Structure for SDRAM Timing */
    CSL_EmifSdramTiming sdramTiming;

    /** Structure for SDRAM Bank configuration */
    CSL_EmifSdramConfig sdramBankConfig;

    /** Structure for Async Bank 1 Config Registers */
    CSL_EmifAsyncBankConfig asyncBank1Config;

    /** Structure for Async Bank 2 Config Registers */
    CSL_EmifAsyncBankConfig asyncBank2Config;

    /** Structure for Async Bank 3 Config Registers */
    CSL_EmifAsyncBankConfig asyncBank3Config;

    /** Structure for Async Bank 4 Config Registers */
    CSL_EmifAsyncBankConfig asyncBank4Config;

    /** Structure for DDR PHY control */
    CSL_EmifDdrPhyControl ddrPhyControl;

    /** Structure for NAND FLASH control */
    CSL_EmifNandFlashControl nandFlashControl;

} CSL_EmifHwSetup;

/** @brief EMIF Module ID and Revision structure
 *
 *  This structure is used for querying the EMIF module ID and revision
 */
typedef struct {
    /** EMIF Module ID */
    Uint16 moduleID;

    /** EMIF Major Revision */
    Uint16 majorRev;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区男女羞羞无遮挡| 激情欧美一区二区| 日精品一区二区| 国产欧美日韩三级| 日韩视频免费观看高清在线视频| 成人a免费在线看| 久久91精品久久久久久秒播| 夜夜精品视频一区二区| 国产婷婷色一区二区三区四区| 欧美日韩在线免费视频| 成人性色生活片| 蜜桃av噜噜一区| 亚洲午夜影视影院在线观看| 自拍偷拍欧美精品| 欧美国产精品一区二区三区| 日韩女优视频免费观看| 欧美日韩和欧美的一区二区| 91视频免费看| 播五月开心婷婷综合| 国产一区二区导航在线播放| 久久99热国产| 久久精品久久综合| 青青草视频一区| 日产精品久久久久久久性色| 亚洲午夜一区二区| 亚洲一区免费视频| 亚洲午夜精品在线| 亚洲精品国产视频| 亚洲欧美日韩在线| 亚洲色图丝袜美腿| 亚洲手机成人高清视频| 亚洲欧美偷拍另类a∨色屁股| 国产片一区二区| 国产精品美女一区二区| 大尺度一区二区| 国产成人综合视频| 国产精品18久久久久久久久| 国产一区二区精品久久| 国产尤物一区二区| 高清日韩电视剧大全免费| 国产精品 欧美精品| 国产一二三精品| 国产成人超碰人人澡人人澡| 国产成人丝袜美腿| 成人app网站| 99re热这里只有精品免费视频| 99精品国产一区二区三区不卡| av电影在线观看一区| 色综合欧美在线| 欧美综合视频在线观看| 欧美日韩国产高清一区二区三区| 欧美日韩免费视频| 日韩欧美一区二区三区在线| 精品国产自在久精品国产| 久久久久亚洲综合| √…a在线天堂一区| 亚洲最新在线观看| 日韩av中文在线观看| 国产一区二区女| 92国产精品观看| 欧美精品v日韩精品v韩国精品v| 91精品国产综合久久久久久久久久 | 日韩精品一区二区三区中文不卡 | 国产精品自在欧美一区| 成人美女视频在线看| 日本精品裸体写真集在线观看| 欧美日韩成人在线| 久久精品一区二区| 亚洲激情图片qvod| 麻豆freexxxx性91精品| 国产91精品在线观看| 91国偷自产一区二区三区观看 | 国产精品视频yy9299一区| 一区二区三区日本| 黄网站免费久久| 一本大道久久a久久综合| 欧美精品粉嫩高潮一区二区| 久久综合色天天久久综合图片| 中文字幕亚洲一区二区va在线| 亚洲国产cao| 国产91露脸合集magnet| 亚洲午夜久久久久| 国产精品69毛片高清亚洲| 欧美色图在线观看| 久久精品人人做| 亚洲va欧美va天堂v国产综合| 国产呦萝稀缺另类资源| 欧美性猛交xxxx黑人交| 国产喂奶挤奶一区二区三区| 亚洲高清免费观看| hitomi一区二区三区精品| 欧美一区二区二区| 亚洲欧美视频在线观看视频| 国内精品久久久久影院薰衣草| 在线观看免费一区| 国产精品素人一区二区| 麻豆91在线播放免费| 欧美午夜精品久久久| 中文字幕日韩av资源站| 久久99精品久久久久婷婷| 在线看国产一区| 国产精品天美传媒| 国产原创一区二区三区| 91精品国产乱| 亚洲午夜精品在线| 91福利资源站| 国产精品久久久久久久久免费相片| 青娱乐精品在线视频| 欧美色综合网站| 一区二区三区在线视频观看| www.日韩av| 国产网红主播福利一区二区| 日韩视频免费观看高清在线视频| 亚洲图片欧美视频| 一本久久综合亚洲鲁鲁五月天 | 国产制服丝袜一区| 91精品在线麻豆| 亚洲国产视频在线| 日本乱人伦aⅴ精品| 亚洲特黄一级片| 91老师片黄在线观看| 中文字幕在线观看不卡| yourporn久久国产精品| 欧美韩国日本一区| 成人在线综合网| 欧美国产综合色视频| 国产馆精品极品| 国产日产欧产精品推荐色| 国产成a人亚洲精| 久久久久久久久久久电影| 国产一区免费电影| 国产校园另类小说区| 国产成人av一区二区三区在线| 久久只精品国产| 国产精品白丝jk黑袜喷水| 久久精品人人做| 国产成人综合亚洲网站| 中文字幕高清不卡| 99久久久精品| 亚洲综合久久久| 欧美美女直播网站| 日本在线不卡视频| 日韩免费视频一区| 久久精品国产第一区二区三区| 日韩精品一区二区三区三区免费| 麻豆国产精品视频| 国产亲近乱来精品视频| 波多野结衣中文一区| 亚洲美女电影在线| 欧美日韩综合一区| 美女国产一区二区三区| 久久综合久久鬼色| 成人免费的视频| 一区二区视频在线看| 欧美私模裸体表演在线观看| 日日摸夜夜添夜夜添精品视频| 欧美成人乱码一区二区三区| 国产精品一区二区视频| 亚洲伦在线观看| 69精品人人人人| 国产精品911| 亚洲午夜在线电影| 欧美成人a在线| 成人一区二区三区视频在线观看| 亚洲免费色视频| 欧美不卡视频一区| 99精品欧美一区二区三区小说 | 一区二区三区欧美在线观看| 欧美精品乱人伦久久久久久| 国产一区三区三区| 一卡二卡欧美日韩| 精品毛片乱码1区2区3区| 99精品视频在线免费观看| 五月天激情小说综合| 久久久久高清精品| 欧美日韩一二三区| 国产成人精品亚洲日本在线桃色| 一区二区三区蜜桃网| 精品福利二区三区| 色国产综合视频| 国产在线不卡一卡二卡三卡四卡| 亚洲情趣在线观看| 精品久久久久香蕉网| 色婷婷一区二区| 国产精品资源网站| 亚洲电影激情视频网站| 欧美极品美女视频| 欧美一级精品大片| 一本色道a无线码一区v| 国产精品一区免费视频| 日韩极品在线观看| 中文字幕在线不卡视频| 日韩免费电影一区| 欧美性videosxxxxx| 粉嫩高潮美女一区二区三区| 日韩影院免费视频| 亚洲女人小视频在线观看| 精品国产91乱码一区二区三区| 欧美日韩精品一区二区三区四区 | 毛片av中文字幕一区二区|