亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
精品亚洲国产成人av制服丝袜| 欧美国产欧美综合| 天天综合网 天天综合色| 欧美综合一区二区三区| 亚洲超丰满肉感bbw| 欧美一级高清片| 国产在线播精品第三| 中文字幕av不卡| 欧美性xxxxxxxx| 六月丁香综合在线视频| 久久精品亚洲一区二区三区浴池 | 亚洲一区二区在线观看视频| 91女厕偷拍女厕偷拍高清| 亚洲第一在线综合网站| 精品日产卡一卡二卡麻豆| 成人免费视频一区| 亚洲国产精品一区二区www| 日韩视频在线一区二区| 成人综合在线视频| 亚洲国产精品一区二区尤物区| 日韩久久精品一区| 国产91精品露脸国语对白| 一区二区久久久久久| 精品黑人一区二区三区久久| 成人av中文字幕| 日韩在线一区二区| 中文字幕国产一区| 欧美日韩国产一级片| 国产精品白丝av| 亚洲一二三四在线观看| 亚洲精品一线二线三线| 色婷婷综合久久| 国产精品综合视频| 亚洲一二三四区不卡| 国产日韩欧美a| 6080午夜不卡| 99vv1com这只有精品| 免费精品视频最新在线| 日韩毛片精品高清免费| 欧美va亚洲va国产综合| 91国产丝袜在线播放| 国产**成人网毛片九色 | 日韩三级精品电影久久久 | 韩国成人福利片在线播放| 尤物视频一区二区| 日本一区二区不卡视频| 91精品国产综合久久婷婷香蕉| 99综合电影在线视频| 久久99最新地址| 亚洲成人动漫精品| 亚洲激情在线播放| 中文在线资源观看网站视频免费不卡| 9191成人精品久久| 精品视频色一区| 91小视频在线免费看| 成人深夜福利app| 国产一区二区三区日韩| 激情综合网av| 毛片基地黄久久久久久天堂| 天天综合网天天综合色| 亚洲国产日韩综合久久精品| 一区二区在线观看视频| 国产精品黄色在线观看| 日韩欧美亚洲另类制服综合在线| 色94色欧美sute亚洲线路二 | 亚洲欧美区自拍先锋| 中文字幕欧美日韩一区| 国产色综合久久| 国产女同性恋一区二区| 日韩一级二级三级| 在线成人高清不卡| 欧美日韩视频一区二区| 欧美日本国产视频| 欧美人妖巨大在线| 欧美精品成人一区二区三区四区| 欧美日韩一本到| 欧美日韩免费观看一区二区三区| 欧美无人高清视频在线观看| 欧美日韩激情一区| 宅男在线国产精品| 日韩一区二区影院| 精品少妇一区二区三区日产乱码| 精品国产伦理网| 2023国产精华国产精品| 国产人成一区二区三区影院| 久久网站最新地址| 亚洲国产成人自拍| 亚洲伦理在线免费看| 亚洲成人综合在线| 日韩电影在线看| 韩国毛片一区二区三区| 成人黄色电影在线| 欧美综合色免费| 69精品人人人人| 久久久午夜电影| 国产精品国产自产拍高清av| 亚洲精品视频一区二区| 亚洲精品一卡二卡| 日本特黄久久久高潮| 国产福利精品一区| 91麻豆精东视频| 欧美一区二区免费视频| 国产喷白浆一区二区三区| 亚洲欧美日韩人成在线播放| 午夜久久久影院| 国产乱一区二区| 欧美中文字幕一二三区视频| 91精品国模一区二区三区| 国产欧美日韩在线观看| 亚洲国产成人高清精品| 激情欧美一区二区三区在线观看| av网站免费线看精品| 91麻豆精品国产91久久久久久久久| 日韩欧美久久一区| 一区二区三区四区在线| 精品一区精品二区高清| 色成年激情久久综合| 久久这里只有精品首页| 亚洲一区二区三区在线看| 国产精品一线二线三线| 欧美无砖砖区免费| 国产精品素人视频| 久热成人在线视频| 欧美视频在线一区| 欧美国产亚洲另类动漫| 日本不卡在线视频| 色婷婷精品大在线视频| 久久久精品综合| 亚洲6080在线| 成人免费av资源| xfplay精品久久| 天天影视色香欲综合网老头| 99久久777色| 久久伊人蜜桃av一区二区| 亚洲国产精品久久艾草纯爱| av在线不卡观看免费观看| 26uuu久久天堂性欧美| 日本伊人午夜精品| 91国内精品野花午夜精品| 国产欧美日韩视频在线观看| 美女在线视频一区| 在线不卡中文字幕| 亚洲午夜三级在线| 成年人网站91| 国产日韩欧美一区二区三区乱码 | 欧美老女人在线| 一区二区三区在线视频观看 | 色呦呦日韩精品| 亚洲国产高清aⅴ视频| 国产在线视频精品一区| 欧美一区二区三区播放老司机 | 免费在线一区观看| 欧洲精品视频在线观看| 亚洲欧美另类在线| 99久久精品99国产精品| 久久精品亚洲精品国产欧美| 九九**精品视频免费播放| 欧美高清一级片在线| 亚洲电影在线免费观看| 91色九色蝌蚪| 亚洲精品第一国产综合野| 99久久综合国产精品| 国产精品久99| 91小视频在线观看| 日韩va欧美va亚洲va久久| 69久久夜色精品国产69蝌蚪网| 日韩精品欧美精品| 欧美一区二区播放| 美日韩黄色大片| 久久亚区不卡日本| 成人免费视频一区二区| 亚洲三级电影网站| 91久久精品网| 亚洲国产精品久久不卡毛片 | 欧美一级生活片| 蜜臀国产一区二区三区在线播放| 欧美一区二区黄| 国产毛片一区二区| 亚洲国产高清在线| 91久久精品一区二区二区| 亚洲国产视频直播| 日韩视频一区二区| 国产成人8x视频一区二区 | 日韩av中文字幕一区二区三区| 欧美高清精品3d| 国产综合久久久久久久久久久久| 精品国产精品网麻豆系列| 高清不卡一区二区在线| 亚洲精品一二三| 91精品久久久久久蜜臀| 国产盗摄一区二区三区| 成人欧美一区二区三区黑人麻豆 | 欧美www视频| 成人免费视频视频| 亚洲成人动漫在线免费观看| 精品国产乱码久久| 成人精品视频一区二区三区| 亚洲国产美国国产综合一区二区| 欧美tickling网站挠脚心| 99免费精品在线观看|