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

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

?? tmbsltuner.c

?? TDA10046驅動源代碼.TDA10046是PHILIPS的一款DVB-T TUNER
?? C
?? 第 1 頁 / 共 2 頁
字號:
//-----------------------------------------------------------------------------
// $Header: 
// (C) Copyright 2001 Philips Semiconductors, All rights reserved
//
// This source code and any compilation or derivative thereof is the sole
// property of Philips Corporation and is provided pursuant to a Software
// License Agreement.  This code is the proprietary information of Philips
// Corporation and is confidential in nature.  Its use and dissemination by
// any party other than Philips Corporation is strictly limited by the
// confidential information provisions of the Agreement referenced above.
//-----------------------------------------------------------------------------
// FILE NAME:    tmbslTuner.c
//
// DESCRIPTION:  Function for the Null tuner 
//
// DOCUMENT REF: <References to specification or other documents related to
//               this module>
//
// NOTES:        1.4 03/29/02 15:36:14
//-----------------------------------------------------------------------------
//

//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//

#include "..\..\Include\tmhalFEtypes.h"

//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//
#include "..\..\Include\tmbslTuner.h"
#include "tmbslTunerlocal.h"

//-----------------------------------------------------------------------------
// Types and defines:
//-----------------------------------------------------------------------------
//

//-----------------------------------------------------------------------------
// Global data:
//-----------------------------------------------------------------------------
//

//-----------------------------------------------------------------------------
// Internal Prototypes:
//-----------------------------------------------------------------------------
//

Bool
t1316CalcReg (
    ptm1316object_t p1316object,    // I: tuner object
    UInt32          uRf             // I: frequency in hertz
    );

//-----------------------------------------------------------------------------
// Exported functions:
//-----------------------------------------------------------------------------
//

//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316Init:
//
// DESCRIPTION: create an instance of a 1316 tuner
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TM_OK
//  
// NOTES:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316Init(
    tmUnitSelect_t     TunerUnit,    //  I: Tuner unit number
    tmbslTuParam_t     sParam        //  I: setup parameters
    )
{
    //----------------------
    // test input parameters
    //----------------------
    // test the max number
    if (TunerUnit > MAX_UNITS)
        return TMBSL_ERR_TUNER_BAD_UNIT_NUMBER;

    //----------------------
    // initialize the object
    //----------------------
    // return if already initialized
    if(g1316Instance[TunerUnit].init == True)
        return TM_OK;

    //----------------
    // init the object
    //----------------
    // initialize the object by default values
    g1316Instance[TunerUnit].uHwAddress = sParam.uHwAddress;
    g1316Instance[TunerUnit].systemFunc = sParam.systemFunc;
    g1316Instance[TunerUnit].init = True;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316DeInit:
//
// DESCRIPTION: destroy an instance of a 1316 tuner
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TMBSL_ERR_TUNER_NOT_INITIALIZED
//              TM_OK
//
// NOTES:
//-----------------------------------------------------------------------------
//
tmErrorCode_t 
tmbsl1316DeInit (
    tmUnitSelect_t TunerUnit     //  I: Tuner unit number
    )
{
    //----------------------
    // test input parameters
    //----------------------
    // test the instance number
    if (TunerUnit > MAX_UNITS)
        return TMBSL_ERR_TUNER_BAD_UNIT_NUMBER;

    // test the object
    if (g1316Instance[TunerUnit].init == False)
        return TMBSL_ERR_TUNER_NOT_INITIALIZED;

    //-------------------------
    // De-initialize the object
    //-------------------------
    g1316Instance[TunerUnit].init = False;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316GetSWVersion:
//
// DESCRIPTION: Return the version of this device
//
// RETURN:      TM_OK
//
// NOTES:       Values defined in the tmbsl1316local.h file
//-----------------------------------------------------------------------------
//
tmErrorCode_t   
tmbsl1316GetSWVersion (
    ptmSWVersion_t     pSWVersion        //  I: Receives SW Version 
    )
{

    pSWVersion->compatibilityNr = BSL_COMP_NUM;
    pSWVersion->majorVersionNr  = BSL_MAJOR_VER;
    pSWVersion->minorVersionNr  = BSL_MINOR_VER;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316SetPowerState:
//
// DESCRIPTION: Set the power state of this device.
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TMBSL_ERR_TUNER_NOT_INITIALIZED
//              TM_OK
//
// NOTES:       NOT implemented
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316SetPowerState (
    tmUnitSelect_t      TunerUnit,      //  I: Tuner unit number
    tmPowerState_t      powerState      //  I: Power state of this device
)
{
    //----------------------
    // test input parameters
    //----------------------
    // test the instance number
    if (TunerUnit > MAX_UNITS)
        return TMBSL_ERR_TUNER_BAD_UNIT_NUMBER;

    // test the object
    if (g1316Instance[TunerUnit].init == False)
        return TMBSL_ERR_TUNER_NOT_INITIALIZED;

    //--------------
    // set the value
    //--------------
    // TO DO : power on off standy suspend

    // store the value
    g1316Instance[TunerUnit].curPowerState = powerState;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316GetPowerState:
//
// DESCRIPTION: Get the power state of this device.
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TMBSL_ERR_TUNER_NOT_INITIALIZED
//              TM_OK
//
// NOTES:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316GetPowerState (
    tmUnitSelect_t      TunerUnit,      //  I: Tuner unit number
    tmPowerState_t     *pPowerState     //  O: Power state of this device
)
{
    //----------------------
    // test input parameters
    //----------------------
    // test the instance number
    if (TunerUnit > MAX_UNITS)
        return TMBSL_ERR_TUNER_BAD_UNIT_NUMBER;

    // test the object
    if (g1316Instance[TunerUnit].init == False)
        return TMBSL_ERR_TUNER_NOT_INITIALIZED;

    //--------------
    // get the value
    //--------------
    *pPowerState = g1316Instance[TunerUnit].curPowerState;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316Write:
//
// DESCRIPTION: Write in the tuner.
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TMBSL_ERR_TUNER_NOT_INITIALIZED
//              TMBSL_ERR_TUNER_BAD_PARAMETER
//              TMBSL_ERR_IIC_ERR
//              TM_OK
//
// NOTES:       
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316Write (
    tmUnitSelect_t      TunerUnit,      //  I: Tuner unit number
    UInt32              uIndex,         //  I: Start index to write
    UInt32              uNbBytes,       //  I: Number of bytes to write
    UInt32*             puBytes         //  I: Pointer on an array of bytes
)
{
    UInt32   uCounter;

    //----------------------
    // test input parameters
    //----------------------
    // test the instance number
    if (TunerUnit > MAX_UNITS)
        return TMBSL_ERR_TUNER_BAD_UNIT_NUMBER;

    // test the object
    if (g1316Instance[TunerUnit].init == False)
        return TMBSL_ERR_TUNER_NOT_INITIALIZED;

    // test the object
    if (uIndex > NB_REGISTERS-1 || uNbBytes > NB_REGISTERS)
        return TMBSL_ERR_TUNER_BAD_PARAMETER;

    //--------------
    // set the value
    //--------------
    // the four registers must be written in the same time
    for (uCounter = 0; uCounter < uNbBytes; uCounter++)
        g1316Instance[TunerUnit].pTunerReg[uCounter+uIndex] = puBytes[uCounter];

    // write in the tuner
  if (g1316Instance[TunerUnit].systemFunc.SY_Write(
        g1316Instance[TunerUnit].uHwAddress,
        0,NB_REGISTERS, g1316Instance[TunerUnit].pTunerReg) != 1)
        return TMBSL_ERR_IIC_ERR;

    return TM_OK;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316WriteBit:
//
// DESCRIPTION: Write in the tuner.
//
// RETURN:      TM_ERR_NOT_SUPPORTED
//
// NOTES:
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316WriteBit (
    tmUnitSelect_t      TunerUnit,      //  I: Tuner unit number
    UInt32              uIndex,         //  I: Start index to write
    UInt32              uBitMask,       //  I: bit mask
    UInt32              uBytes          //  I: bit value
)
{
    return TM_ERR_NOT_SUPPORTED;
}


//-----------------------------------------------------------------------------
// FUNCTION:    tmbsl1316Read:
//
// DESCRIPTION: Read in the tuner.
//
// RETURN:      TMBSL_ERR_TUNER_BAD_UNIT_NUMBER
//              TMBSL_ERR_TUNER_NOT_INITIALIZED
//              TMBSL_ERR_TUNER_BAD_PARAMETER
//              TMBSL_ERR_IIC_ERR
//              TM_OK
//
// NOTES:       
//-----------------------------------------------------------------------------
//
tmErrorCode_t
tmbsl1316Read (
    tmUnitSelect_t      TunerUnit,      //  I: Tuner unit number
    UInt32              uIndex,         //  I: Start index to read
    UInt32              uNbBytes,       //  I: Number of bytes to read
    UInt32*             puBytes         //  I: Pointer on an array of bytes
)
{
    //----------------------
    // test input parameters
    //----------------------
    // test the instance number

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色图12p| 欧美一级精品在线| 91精品一区二区三区久久久久久 | 国产精品私房写真福利视频| 亚洲精品亚洲人成人网| 国产美女精品一区二区三区| 欧美性受xxxx| 国产精品入口麻豆原神| 美日韩一区二区| 91麻豆成人久久精品二区三区| 日韩精品一区二区三区四区视频 | 国产喂奶挤奶一区二区三区| 日韩激情av在线| 色先锋aa成人| 亚洲欧洲日本在线| 国产乱码精品一区二区三区五月婷| 91久久香蕉国产日韩欧美9色| 欧美国产精品一区二区三区| 久久99久久99| 欧美成人一级视频| 秋霞影院一区二区| 欧美日韩一区二区三区四区五区 | 日韩精品在线一区二区| 亚洲午夜精品在线| 在线亚洲高清视频| 亚洲激情欧美激情| 日本道精品一区二区三区| 亚洲欧美偷拍另类a∨色屁股| 成人深夜在线观看| 国产精品午夜久久| 岛国av在线一区| 国产精品三级久久久久三级| 国产suv精品一区二区6| 欧美高清在线视频| 不卡一区二区在线| 17c精品麻豆一区二区免费| av电影在线观看完整版一区二区| 中文字幕av一区二区三区| 色视频欧美一区二区三区| 国产精品久久久一区麻豆最新章节| 国产精品91xxx| 国产欧美日韩综合| 99久久婷婷国产综合精品电影 | 国产成人亚洲综合色影视| 久久亚洲精华国产精华液| 国产精品综合一区二区| 久久久www成人免费毛片麻豆| 国产一区二区不卡| 欧美国产一区二区在线观看| 99在线精品一区二区三区| 亚洲乱码国产乱码精品精可以看| 在线精品观看国产| 欧美a一区二区| 久久久精品tv| 色噜噜狠狠色综合中国| 日韩成人一级片| 久久精品日韩一区二区三区| 99久久99久久免费精品蜜臀| 欧美xxx久久| 国产精品一卡二卡| 久久精品一区二区| 99久久久久久| 天堂va蜜桃一区二区三区漫画版 | 久久国产尿小便嘘嘘尿| 2021久久国产精品不只是精品| 大桥未久av一区二区三区中文| 亚洲一线二线三线久久久| 欧美久久一区二区| 国产精品一区二区黑丝| 亚洲美腿欧美偷拍| wwww国产精品欧美| 色哟哟精品一区| 久久国产成人午夜av影院| 国产精品乱码人人做人人爱 | 972aa.com艺术欧美| 亚洲福利一区二区三区| 久久先锋资源网| 在线一区二区视频| 国产精品亚洲一区二区三区在线 | 精品国产成人系列| 色94色欧美sute亚洲线路一久| 水蜜桃久久夜色精品一区的特点| 国产欧美一区二区精品婷婷 | 99精品久久免费看蜜臀剧情介绍| 美女视频黄免费的久久 | 91福利国产精品| 国产精品一区二区在线观看不卡| 国产精选一区二区三区 | 在线观看日韩一区| 国产一区二区三区在线看麻豆| 一区二区在线观看免费| 国产欧美日韩视频一区二区| 7878成人国产在线观看| 99久久精品一区二区| 国产毛片精品一区| 日本欧美一区二区三区乱码| 亚洲一区二区三区美女| 国产精品国产自产拍高清av王其 | caoporen国产精品视频| 久久成人免费电影| 日本91福利区| 午夜精品久久久久久不卡8050| 亚洲狠狠丁香婷婷综合久久久| 欧美极品aⅴ影院| 精品av久久707| 亚洲精品在线观| 精品免费视频.| 337p粉嫩大胆噜噜噜噜噜91av| 6080yy午夜一二三区久久| 欧美福利电影网| 亚洲精品日韩一| 艳妇臀荡乳欲伦亚洲一区| 国产蜜臀av在线一区二区三区| 欧美大片顶级少妇| 91精品国产综合久久精品app | 欧美激情一区二区三区四区| 欧美mv和日韩mv的网站| 日韩一区二区在线免费观看| 欧美一区二区在线不卡| 欧美精品乱码久久久久久按摩 | 91玉足脚交白嫩脚丫在线播放| 处破女av一区二区| 高清成人免费视频| 不卡在线视频中文字幕| 91网页版在线| 色嗨嗨av一区二区三区| 欧美亚洲动漫制服丝袜| 欧美高清你懂得| 日韩无一区二区| 2020国产精品久久精品美国| 99久久er热在这里只有精品66| 日本一区二区电影| 国产精品毛片高清在线完整版| 欧美极品xxx| 亚洲理论在线观看| 亚洲成人精品在线观看| 日韩二区三区在线观看| 韩国av一区二区三区在线观看| 国产高清精品久久久久| 成人精品一区二区三区四区| 色狠狠av一区二区三区| 欧美日本精品一区二区三区| 日韩精品自拍偷拍| 亚洲国产精品av| 亚洲美女偷拍久久| 麻豆精品在线视频| 不卡在线观看av| 91精品国产一区二区三区| 久久九九国产精品| 亚洲专区一二三| 91蝌蚪porny九色| 51精品秘密在线观看| 久久久久久99久久久精品网站| 亚洲国产精品成人综合 | 亚洲一二三四区| 在线观看欧美精品| 日韩一区和二区| 亚洲卡通欧美制服中文| 日精品一区二区三区| 成人美女在线视频| 4438x成人网最大色成网站| 日本一区二区三区电影| 视频在线观看国产精品| 不卡的av网站| 精品电影一区二区三区| 亚洲一区二区欧美日韩| 国产成人av一区二区三区在线| 欧美性猛交一区二区三区精品| 久久免费电影网| 午夜欧美大尺度福利影院在线看| 国产成人在线网站| 欧美一级艳片视频免费观看| 日韩伦理免费电影| 精品一区中文字幕| 欧美精品在线视频| 亚洲老司机在线| 国产不卡一区视频| 欧美xingq一区二区| 亚洲国产日韩综合久久精品| 91视频一区二区| 欧美国产一区视频在线观看| 精品亚洲porn| 日韩视频一区二区三区在线播放| 一区二区三区视频在线观看| 九色|91porny| 色噜噜狠狠成人网p站| 国产清纯美女被跳蛋高潮一区二区久久w | 这里只有精品99re| 亚洲欧美区自拍先锋| 成人性生交大片免费看在线播放| 日韩免费福利电影在线观看| 午夜不卡av免费| 欧美亚洲一区三区| 伊人开心综合网| 在线亚洲高清视频| 一区二区三区精密机械公司| 99国产精品久久久久久久久久久| 国产欧美精品日韩区二区麻豆天美| 国产一区福利在线| 精品国产区一区|