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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? csl_tcp.h

?? evmDM642 flash測試程序
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************\
*           Copyright (C) 2000 Texas Instruments Incorporated.
*                           All Rights Reserved
*------------------------------------------------------------------------------
* FILENAME...... csl_tcp.h
* DATE CREATED.. 02/22/2001 
* LAST MODIFIED. 09/17/2001 
*
\******************************************************************************/
#ifndef _CSL_TCP_H_
#define _CSL_TCP_H_

#include <csl_chip.h>   
#include <csl_stdinc.h>
#include <csl_irq.h>
#include "csl_tcphal.h"

#if (TCP_SUPPORT)
/****************************************\
* TCP scope and inline control macros
\****************************************/
#ifdef __cplusplus
#define CSLAPI extern "C" far
#else
#define CSLAPI extern far
#endif

#undef  USEDEFS
#undef  IDECL
#undef  IDEF

#ifdef  _TCP_MOD_
  #define IDECL extern far
  #define USEDEFS
  #define IDEF
#else
  #ifdef  _INLINE
    #define IDECL static inline
    #define USEDEFS
    #define IDEF  static inline
  #else
    #define IDECL extern far
  #endif
#endif

/****************************************\
* TCP global macro declarations
\****************************************/

/****************************************\
* TCP global typedef declarations
\****************************************/
typedef Uint8  TCP_Standard;
typedef Uint8  TCP_Mode;
typedef Uint8  TCP_Map;
typedef Uint8  TCP_Rate;
typedef Uint8  TCP_UserData;
typedef Uint8  TCP_ExtrinsicData;

typedef struct {
   Uint32 ic0;
   Uint32 ic1;
   Uint32 ic2;
   Uint32 ic3;
   Uint32 ic4;
   Uint32 ic5;
   Uint32 ic6;
   Uint32 ic7;
   Uint32 ic8;
   Uint32 ic9;
   Uint32 ic10;
   Uint32 ic11;
} TCP_ConfigIc;

typedef struct {
   TCP_Standard standard;
   TCP_Mode     mode;
   TCP_Map      map;
   TCP_Rate     rate;
   Uint32       intFlag;
   Uint32       outParmFlag;
   Uint32       frameLen;
   Uint32       subFrameLen;
   Uint32       relLen;
   Uint32       relLenLast;
   Uint32       prologSize;
   Uint32       numSubBlock;
   Uint32       numSubBlockLast;
   Uint32       maxIter;
   Uint32       snr;
   Uint32       numInter;
   Uint32       numSysPar;
   Uint32       numApriori;
   Uint32       numExt;
   Uint32       numHd;
} TCP_Params;

typedef struct {
   TCP_Standard standard;
   TCP_Rate     rate;
   Uint16       frameLen;
   Uint8        prologSize;
   Uint8        maxIter;
   Uint8        snr;
   Uint8        intFlag;
   Uint8        outParmFlag;
} TCP_BaseParams;

/************ New structure for Init ***************/
typedef struct {
   TCP_UserData *restrict xabData;
   TCP_Standard standard;
   TCP_Rate     rate;
   Uint16       frameLen;
   Uint8        prologSize;
   Uint8        maxIter;
   Uint8        snr;
   Uint8        intFlag;
   Uint8        outParmFlag;
} TCP_Init;

/****************************************\
* TCP global ants declarations
\****************************************/
#define TCP_RATE_1_2           2
#define TCP_RATE_1_3           3
#define TCP_RATE_1_4           4
#define TCP_MODE_SA            0
#define TCP_MODE_SP            1
#define TCP_MAP_MAP1A          0
#define TCP_MAP_MAP1B          1
#define TCP_MAP_MAP2           3 
#define TCP_STANDARD_3GPP      0
#define TCP_STANDARD_IS2000    1
#define TCP_RLEN_MAX         128
#define TCP_FLEN_MAX        5114
#define TCP_NUM_IC            12
#define TCP_NUM_OP             2

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

/* Set the ic6-ic9 registers (tails) based on the user data          */
/* TCP_tailConfig calls TCP_tailConfig3GPP() or TCP_tailConfigIs2000 */
/* based on the "standard" parameter value                           */
CSLAPI void TCP_tailConfig(TCP_Standard standard,
                          TCP_Mode mode,
                          TCP_Map map,
                          TCP_Rate rate,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);
CSLAPI void TCP_tailConfig3GPP(TCP_Mode mode,
                          TCP_Map map,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);
CSLAPI void TCP_tailConfigIs2000(TCP_Mode mode,
                          TCP_Map map,
                          TCP_Rate rate,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);

/* Set the Parameters passed via Param structure to ic0-ic5 registers */
/* configIc is the returned config structure of the icx registers */
CSLAPI void TCP_setParams(TCP_Params *restrict configParms,
                          TCP_ConfigIc *restrict configIc);

/* Set all icx registers :                                     */ 
/* configPrams input parameters dedicated to ic0-ic5 registers */
/* xabData input parameters dedicated to set ic6-ic11 registers (tails */
/* configIc is the returned config structure of the icx registers */
CSLAPI void TCP_genIc(TCP_Params *restrict configParms,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);

/* Divide the data frames into subframes and subblocks.                     */
/* The values calculated in these routines are entered into the configParms */
/* struct and are used in programming the TCP IC values and the EDMA        */
/* parameters. Either TCP_calcSubBlocks3GPP or TCP_calcSubBlocksIs2000 is   */
/* used depending on the standard.                                          */
CSLAPI void TCP_calcSubBlocksSA(TCP_Params *configParms);

CSLAPI Uint32 TCP_calcSubBlocksSP(TCP_Params *configParms);

/* Fill out the necessary TCP parameters.                                   */
CSLAPI Uint32 TCP_genParams(TCP_BaseParams *configBase,
                          TCP_Params *configParms);


/*** Init parameters and set registers **********/
void TCP_init(TCP_Init *Init);
void TCP_tailInit3GPP(TCP_Mode mode, TCP_Map map,TCP_UserData *restrict xabData);
void TCP_tailInitIs2000(TCP_Mode mode,TCP_Map map,TCP_Rate rate,TCP_UserData *restrict xabData);

/* Calculate the count values (number of 32-bit words) required for the     */
/* programming of the EDMA for all data buffers. The counts calculated      */
/* using either TCP_calcCounts3GPP or TCP_calcCountsIs2000 depending on the */
/* standard.                                                                */
CSLAPI void TCP_calcCountsSA(TCP_Params *configParms);

CSLAPI void TCP_calcCountsSP(TCP_Params *configParms);

/* Interleave the extrinsics data to give the apriori data required for the */
/* subsequent MAP decoding. TCP_interleaveExt is performed by the CPU       */
/* following a MAP1 decoding by the TCP. This function is used in shared    */
/* processing mode only.                                                    */
CSLAPI void TCP_interleaveExt(TCP_ExtrinsicData *restrict aprioriMap2, 
                          const TCP_ExtrinsicData *restrict extrinsicsMap1, 
                          const Uint16 *restrict interleaverTable, 
                          Uint32  numExt);

/* De-interleave the extrinsics data to give the apriori data required for  */
/* the subsequent MAP decoding. TCP_deinterleaveExt is performed by the CPU */
/* following a MAP2 decoding by the TCP. This function is used in shared    */
/* processing mode only.                                                    */
CSLAPI void TCP_deinterleaveExt(TCP_ExtrinsicData *restrict aprioriMap1, 
                          const TCP_ExtrinsicData *restrict extrinsicsMap2, 
                          const Uint16 *restrict interleaverTable, 
                          Uint32  numExt);

/* Calculate hard decisions following all MAP decodings in shared processing*/
/* mode.                                                                    */
CSLAPI void TCP_calculateHd(const TCP_ExtrinsicData *restrict extrinsicsMap1, 
                          const TCP_ExtrinsicData *restrict apriori, 
                          const TCP_UserData *restrict channel_data, 
                          Uint32 *restrict hardDecisions,
                          Uint16 numExt,
                          Uint8  rate);

/* Demultiplex the input data into two "working data" buffers. The two new  */
/* data buffers are used separately for MAP 1 and MAP 2 decodings in shared */
/* processing mode.                                                         */
CSLAPI void TCP_demuxInput(Uint32 rate,
                          Uint32 frameLen,
                          const TCP_UserData *restrict input,
                          const Uint16 *restrict interleaver,
                          TCP_ExtrinsicData *restrict nonInterleaved,
                          TCP_ExtrinsicData *restrict interleaved);
                          
/****************************************\
* TCP inline function declarations
\****************************************/

/* Master transfer functions */
IDECL void   TCP_start();
IDECL void   TCP_pause();
IDECL void   TCP_unpause();

IDECL Uint32 TCP_getNumIt();
IDECL Uint32 TCP_getSysParEndian();
IDECL Uint32 TCP_getIinterEndian();
IDECL Uint32 TCP_getAaprioriEndian();
IDECL Uint32 TCP_getExtEndian();

IDECL void   TCP_setNativeEndian();
IDECL void   TCP_setPacked32Endian();
IDECL void   TCP_setSysParEndian(Uint32 sysParEnd);
IDECL void   TCP_setInterEndian(Uint32 interEnd);
IDECL void   TCP_setAprioriEndian(Uint32 aprioriEnd);
IDECL void   TCP_setExtEndian(Uint32 extEnd);

IDECL Uint32 TCP_statPause();
IDECL Uint32 TCP_statRun();
IDECL Uint32 TCP_statError();
IDECL Uint32 TCP_statWaitIC();
IDECL Uint32 TCP_statWaitInter();
IDECL Uint32 TCP_statWaitSysPar();
IDECL Uint32 TCP_statWaitApriori();
IDECL Uint32 TCP_statWaitExt();
IDECL Uint32 TCP_statWaitHardDec();
IDECL Uint32 TCP_statWaitOutParm();

IDECL Uint32 TCP_errTest();
IDECL Uint32 TCP_getFrameLenErr();
IDECL Uint32 TCP_getProlLenErr();
IDECL Uint32 TCP_getRateErr();
IDECL Uint32 TCP_getSubFrameErr();
IDECL Uint32 TCP_getModeErr();
IDECL Uint32 TCP_getRelLenErr();
IDECL Uint32 TCP_getLastRelLenErr();
IDECL Uint32 TCP_getInterleaveErr();
IDECL Uint32 TCP_getOutParmErr();
IDECL Uint32 TCP_getAccessErr();


/* Set all the TCP registers : ic0-ic11 using a configuration structure  */
IDECL void TCP_icConfig(TCP_ConfigIc *config);

/* Set all the TCP registers : ic0-ic11 with register values   */
IDECL void TCP_icConfigArgs(Uint32 ic0, Uint32 ic1, Uint32 ic2,  Uint32 ic3,
                            Uint32 ic4, Uint32 ic5, Uint32 ic6,  Uint32 ic7,
                            Uint32 ic8, Uint32 ic9, Uint32 ic10, Uint32 ic11);
/* Get TCP registers : ic0-ic11 returned into a configuration structure  */
IDECL void TCP_getIcConfig(TCP_ConfigIc *config);

/* Build the tail value */
IDECL Uint32 TCP_makeTailArgs(Uint8 byte31_24, Uint8 byte23_16,
                              Uint8 byte15_8,  Uint8 byte7_0);

/* Ceiling functions */
IDECL Uint32 TCP_ceil(Uint32 a, Uint32 b);

IDECL Uint32 TCP_normalCeil(Uint32 a, Uint32 b);

/****************************************\
* TCP inline function definitions
\****************************************/
#ifdef USEDEFS
/*----------------------------------------------------------------------------*/
IDEF void TCP_start(){
   TCP_FSET(EXE,START,1);  
}
/*----------------------------------------------------------------------------*/
IDEF void TCP_pause(){
  TCP_FSET(EXE,PAUSE,1);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品一二三| 日韩亚洲欧美一区| 国产传媒久久文化传媒| 麻豆极品一区二区三区| 日本亚洲一区二区| 理论片日本一区| 韩国v欧美v亚洲v日本v| 国产成人午夜精品影院观看视频 | 日本乱码高清不卡字幕| 成人sese在线| 一道本成人在线| 欧美日韩亚洲综合一区二区三区 | 日韩欧美中文字幕公布| 精品国产成人在线影院| 欧美高清在线精品一区| 亚洲人精品午夜| 午夜av电影一区| 久久黄色级2电影| 成人av在线一区二区三区| 91麻豆高清视频| 这里只有精品电影| 久久久www成人免费毛片麻豆 | 久久色.com| 亚洲欧美日韩一区| 日本欧美一区二区| 国产91丝袜在线18| 欧美日韩一区二区三区视频| 日韩一区二区影院| 日韩美女视频一区二区| 天天综合色天天综合| 国产精品亚洲成人| 欧美这里有精品| 久久精品视频在线看| 亚洲综合网站在线观看| 韩国在线一区二区| 欧美中文字幕亚洲一区二区va在线| 欧美大白屁股肥臀xxxxxx| 国产精品国产三级国产普通话99| 亚洲国产你懂的| 成人精品电影在线观看| 欧美一区二区三区在线| 中文字幕字幕中文在线中不卡视频| 美洲天堂一区二卡三卡四卡视频| 成人自拍视频在线| 欧美一卡二卡在线| 亚洲激情av在线| 成人性视频免费网站| 欧美日本一区二区在线观看| 国产精品久久久久一区| 韩国中文字幕2020精品| 欧美精品少妇一区二区三区| 亚洲欧美aⅴ...| 国产成人高清在线| 久久久不卡网国产精品一区| 日本视频在线一区| 欧美丝袜丝交足nylons| 国产精品福利一区二区| 国产高清在线观看免费不卡| 欧美一区二区三区电影| 亚洲bt欧美bt精品| 精品视频999| 亚洲一区二区三区激情| 色诱视频网站一区| 一色桃子久久精品亚洲| 大桥未久av一区二区三区中文| 欧美精品一区二区三区在线播放| 三级一区在线视频先锋 | 亚洲国产精品久久人人爱 | 香蕉加勒比综合久久| 色噜噜狠狠成人网p站| 综合激情网...| 色婷婷久久久综合中文字幕 | 国产精品综合二区| 久久综合久久鬼色中文字| 久久精品国产99国产精品| 91精品国产高清一区二区三区 | 欧美日韩不卡一区二区| 亚洲午夜精品一区二区三区他趣| 色天天综合色天天久久| 夜夜嗨av一区二区三区| 欧美日韩在线综合| 五月天精品一区二区三区| 欧美剧在线免费观看网站| 日韩电影在线观看网站| 日韩欧美国产综合一区| 国产成人精品午夜视频免费| 最好看的中文字幕久久| 欧美影院一区二区三区| 日韩不卡一二三区| 久久久久久久久久看片| 成人av午夜电影| 亚洲一区二区影院| 日韩精品一区二区三区中文精品| 国产一区二区三区高清播放| 国产精品日韩成人| 欧美艳星brazzers| 另类调教123区| 日韩一区在线播放| 91精品国产综合久久福利| 国产精品888| 亚洲欧美福利一区二区| 日韩免费性生活视频播放| 成人免费视频免费观看| 午夜精品福利视频网站| 久久久久久久久久久久电影 | 欧美成人福利视频| av亚洲精华国产精华| 三级亚洲高清视频| 国产精品免费视频一区| 欧美日本一区二区在线观看| 国产福利不卡视频| 午夜a成v人精品| 亚洲欧洲在线观看av| 日韩视频一区二区三区在线播放| 大桥未久av一区二区三区中文| 五月天激情综合网| 亚洲免费成人av| 久久久久99精品国产片| 777亚洲妇女| 91久久精品一区二区| 国产成人福利片| 美国十次了思思久久精品导航| 亚洲欧美另类在线| 国产欧美va欧美不卡在线| 欧美一级二级三级乱码| 色八戒一区二区三区| 成熟亚洲日本毛茸茸凸凹| 精品无人码麻豆乱码1区2区 | 国产精品一区二区你懂的| 午夜av电影一区| 亚洲综合免费观看高清完整版在线 | 欧美精品一区视频| 69久久99精品久久久久婷婷| 色88888久久久久久影院野外| 国产米奇在线777精品观看| 天堂久久久久va久久久久| 亚洲精品乱码久久久久久日本蜜臀| 国产视频一区在线观看| 亚洲精品一区二区精华| 欧美第一区第二区| 欧美电影免费观看高清完整版| 欧美老肥妇做.爰bbww| 欧美三级欧美一级| 精品视频1区2区| 欧美三级电影网站| 欧美三区免费完整视频在线观看| 91激情五月电影| 欧美视频在线一区| 欧美日韩国产在线观看| 欧美精选午夜久久久乱码6080| 欧美日韩亚洲高清一区二区| 欧美视频在线不卡| 欧美肥妇bbw| 精品久久久久久久久久久院品网| 日韩一级片网址| 精品国产人成亚洲区| 精品99久久久久久| 国产亚洲精品7777| 亚洲国产精品v| 亚洲人成精品久久久久| 亚洲第一福利视频在线| 丝瓜av网站精品一区二区| 日本伊人色综合网| 国产成人免费在线观看不卡| 成人美女视频在线观看| 在线视频欧美区| 91精品免费在线| 久久久美女艺术照精彩视频福利播放| 久久久久久久性| 亚洲乱码国产乱码精品精小说 | 欧美一区二区三区思思人| 欧美videofree性高清杂交| 久久久久久久久久久黄色| 亚洲日本乱码在线观看| 日韩主播视频在线| 国产剧情一区二区三区| 一本到一区二区三区| 91精品国产色综合久久不卡蜜臀 | 91免费观看视频在线| 欧美肥妇毛茸茸| 国产精品每日更新在线播放网址| 一区二区免费在线| 狠狠色丁香婷婷综合| 色呦呦国产精品| 精品福利一区二区三区| 亚洲乱码中文字幕| 久久99国产精品麻豆| 色综合久久天天| 亚洲精品一区二区三区香蕉| 亚洲欧美日韩国产一区二区三区| 美女视频网站久久| 在线免费观看一区| 欧美α欧美αv大片| 一区二区三区在线播放| 国产裸体歌舞团一区二区| 欧美视频第二页| 国产精品久久久久国产精品日日| 丝袜诱惑制服诱惑色一区在线观看 | 丁香桃色午夜亚洲一区二区三区| 欧美日韩精品欧美日韩精品一 |