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

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

?? csl_uhpiaux.h

?? 基于ti tms320c672x下音頻開發(fā)例子程式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*  ============================================================================
 *   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.
 *   ===========================================================================
 */

/** @file  csl_uhpiAux.h
 *
 *  @path $(CSLPATH)\uhpi\v1\src
 *
 *  @brief PLL controller CSL implementation on DSP side. 
 *
 */

/* =============================================================================
 *  Revision History
 *  ===============
 *  04-FEB-2005 asr  File Created.
 * =============================================================================
 */

#ifndef _CSL_UHPIAUX_H_
#define _CSL_UHPIAUX_H_

#include <csl_uhpi.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
 *  Status query functions of the uhpi
 */

/** ============================================================================
 *   @n@b CSL_uhpiSetGpint
 *
 *   @b Description
 *   @n Gets the GPINT_ENx control status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>  
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetGpint (hUhpi , 0x4);

     @endverbatim
 * =============================================================================
 */
static inline
void CSL_uhpiSetGpint(
        CSL_UhpiHandle  hUhpi,
        Uint32          loadVal
)
{
	CSL_FINSR (hUhpi->regs->GPINT_CTRL,2,0,loadVal);
}       

/** ============================================================================
 *   @n@b CSL_uhpiSetGpintInv
 *
 *   @b Description
 *   @n Gets the GPINT_INVx Invert status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetGpint (hUhpi , 0x4);

     @endverbatim
 * =============================================================================
 */
static inline
void CSL_uhpiSetGpintInv(
        CSL_UhpiHandle  hUhpi,
        Uint32          loadVal
)
{
    CSL_FINSR (hUhpi->regs->GPINT_CTRL,18,16,loadVal);
}

/** ============================================================================
 *   @n@b CSL_uhpiGpioEnable
 *
 *   @b Description
 *   @n Gets the GPIO Enable status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiGpioEnable (hUhpi , 0x4);

     @endverbatim
 * =============================================================================
 */

static inline
void CSL_uhpiGpioEnable(
        CSL_UhpiHandle  hUhpi,
        Uint32          loadVal
)
{
    hUhpi->regs->GPIO_EN = loadVal;
}

/** ============================================================================
 *   @n@b CSL_uhpiSetGpioDir1
 *
 *   @b Description
 *   @n Gets the GPIO Direction status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetGpioDir1 (hUhpi , 0xFF);

     @endverbatim
 * =============================================================================
 */
static inline
void CSL_uhpiSetGpioDir1(
        CSL_UhpiHandle  hUhpi,
        Uint32          dirVal
)
{
    hUhpi->regs->GPIO_DIR1 = dirVal;
}

/** ============================================================================
 *   @n@b CSL_uhpiSetGpioDir2
 *
 *   @b Description
 *   @n Gets the GPIO Direction2 status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetGpioDir2 (hUhpi , 0xFF);

     @endverbatim
 * =============================================================================
 */
 
static inline
void CSL_uhpiSetGpioDir2(
        CSL_UhpiHandle  hUhpi,
        Uint16          dirVal
)
{
    hUhpi->regs->GPIO_DIR2 = dirVal;
}

/** ============================================================================
 *   @n@b CSL_uhpiSetGpioDir3
 *
 *   @b Description
 *   @n Gets the GPIO Direction3 status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetGpioDir3 (hUhpi , 0xFF);

     @endverbatim
 * =============================================================================
 */
static inline
void CSL_uhpiSetGpioDir3(
        CSL_UhpiHandle  hUhpi,
        Uint32          dirVal
)
{
    hUhpi->regs->GPIO_DIR3 = dirVal;
}

/** ============================================================================
 *   @n@b CSL_uhpiSetDspInt
 *
 *   @b Description
 *   @n Gets the HPIC Host-to-DSP Interrupt status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetDspInt (hUhpi , 1);

     @endverbatim
 * =============================================================================
 */
static inline
void CSL_uhpiSetDspInt(
        CSL_UhpiHandle  hUhpi
)
{
    CSL_FINS (hUhpi->regs->HPIC,HPI_HPIC_DSP_INT,TRUE); 
}       
/** ============================================================================
 *   @n@b CSL_uhpiResetDspInt
 *
 *   @b Description
 *   @n Gets the Reset HPIC Host-to-DSP Interrupt status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiResetDspInt (hUhpi , 0);

     @endverbatim
 * =============================================================================
 */

static inline
void CSL_uhpiResetDspInt(
        CSL_UhpiHandle  hUhpi
)
{
    CSL_FINS (hUhpi->regs->HPIC,HPI_HPIC_DSP_INT,FALSE);
}       

/** ============================================================================
 *   @n@b CSL_uhpiSetHint
 *
 *   @b Description
 *   @n Gets the HPIC DSP-to-Host Interrupt status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetHint (hUhpi , 1);

     @endverbatim
 * =============================================================================
 */

static inline
void CSL_uhpiSetHint(
        CSL_UhpiHandle  hUhpi
)
{
    CSL_FINS (hUhpi->regs->HPIC,HPI_HPIC_HINT,TRUE);    
}       

/** ============================================================================
 *   @n@b CSL_uhpiResetHint
 *
 *   @b Description
 *   @n Gets the Reset HPIC DSP-to-Host Interrupt status of the uhpi.
 *
 *   @b Arguments
 *   @verbatim
            hUhpi           Handle to the UHPI instance
     @endverbatim
 *
 *   <b> Return Value </b>
 *	 @n  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *   @n  None
 *
 *   @b Modifies
 *   @n None
 *
 *   @b Example
 *   @verbatim
        CSL_UhpiHandle          hUhpi;

        CSL_uhpiSetHint (hUhpi , 0);

     @endverbatim
 * =============================================================================
 */
 
static inline
void CSL_uhpiResetHint(
        CSL_UhpiHandle  hUhpi
)
{
    CSL_FINS (hUhpi->regs->HPIC,HPI_HPIC_HINT,FALSE);   
}       

/** ===========================================================================
 *   @n@b CSL_uhpiGetPidRev
 *
 *   @b Description
 *   @n This function  gets the Peripheral ID Revision.
 *
 *   @b Arguments
 *   @verbatim

            hUhpi           Handle to UHPI instance

            response        Placeholder to return status.

     @endverbatim
 *
 *   <b> Return Value </b>  None
 *
 *   <b> Pre Condition </b>
 *   @n  None
 *
 *   <b> Post Condition </b>
 *    @n None
 *
 *   @b Modifies
 *   @n  None
 *
 *   @b Example
 *   @verbatim

        CSL_uhpiGetPidRev (hUhpi, &response);

     @endverbatim
 * ===========================================================================
 */

static inline
void CSL_uhpiGetPidRev(
        CSL_UhpiHandle  hUhpi,
        void *          response
)
{
    /*Read the peripheral revision from PID */
    *((Uint32 *)response) = CSL_FEXT(hUhpi->regs->PID, HPI_PID_REV);
}

/** ===========================================================================
 *   @n@b CSL_uhpiGetPidClass
 *
 *   @b Description
 *   @n This function  gets the Peripheral ID Class.
 *
 *   @b Arguments
 *   @verbatim

            hUhpi           Handle to UHPI instance

            response        Placeholder to return status.

     @endverbatim
 *
 *   <b> Return Value </b>  None

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频精品一区二区| 国产福利一区在线观看| 国产精品毛片高清在线完整版| 在线观看视频欧美| 97久久超碰国产精品电影| 国产成人综合视频| 免费在线视频一区| 午夜精品久久久久久久久| 亚洲国产精品av| 国产欧美一区二区三区网站| 欧美videos大乳护士334| 欧美一区二区三区色| 欧美日韩一区国产| 4438x成人网最大色成网站| 欧美欧美欧美欧美| 在线观看欧美日本| 在线区一区二视频| 欧美视频在线观看一区二区| 日本韩国欧美在线| 欧美日韩在线综合| 日韩一区二区三区av| 日韩免费高清av| 国产片一区二区| 亚洲欧美色图小说| 亚洲成av人片在线| 麻豆一区二区99久久久久| 精品亚洲成a人| 成人性视频免费网站| jlzzjlzz亚洲女人18| 99久久er热在这里只有精品66| 91网上在线视频| 91久久线看在观草草青青| 欧美亚洲图片小说| 日韩欧美一区二区不卡| 欧美乱妇一区二区三区不卡视频| 欧美一级久久久| 日本一区二区成人| 亚洲国产综合视频在线观看| 日本不卡中文字幕| 成人亚洲一区二区一| 欧美福利电影网| 精品日韩成人av| 亚洲婷婷在线视频| 五月激情六月综合| 成人午夜短视频| 欧美一区二区女人| 亚洲色图欧美激情| 蜜臀av性久久久久av蜜臀妖精| 成人性生交大片免费看中文| 欧美手机在线视频| 日本一区二区三区在线不卡| 五月天国产精品| 99久久精品99国产精品| 日韩精品一区二区三区在线播放| 国产精品天干天干在观线| 天天影视涩香欲综合网 | 亚洲成人动漫av| 国产福利一区二区三区视频在线| 欧美性生活影院| 国产精品久久久久久久久免费相片| 亚洲男同性视频| 成人美女视频在线观看18| 日韩免费观看高清完整版在线观看| 亚洲精品日韩一| 欧美日韩免费视频| 中文文精品字幕一区二区| 免费精品视频最新在线| 欧美性一级生活| 亚洲国产精品成人久久综合一区| 亚洲国产日韩在线一区模特| 99久久精品免费观看| 国产精品国产三级国产三级人妇| 精品一区二区三区的国产在线播放 | 欧美日韩精品一区二区天天拍小说| 国产精品三级av| 国产福利一区在线| 国产精品久久毛片a| 成av人片一区二区| 国产女人aaa级久久久级| 紧缚奴在线一区二区三区| 欧美日韩美女一区二区| 亚洲大片免费看| 91精品在线观看入口| 蜜桃一区二区三区在线观看| 欧美日韩成人综合在线一区二区| 亚洲一区成人在线| 69久久99精品久久久久婷婷 | 欧美午夜电影在线播放| 久久久久久久电影| www.欧美亚洲| 一区二区三区四区乱视频| 欧美日韩在线亚洲一区蜜芽| 亚洲成a人片在线观看中文| 91超碰这里只有精品国产| 伦理电影国产精品| 日本一区二区成人在线| 91久久精品午夜一区二区| 午夜精品久久久久久久久| 日韩午夜在线观看| 国产精品亚洲а∨天堂免在线| 国产女人18毛片水真多成人如厕| 波多野结衣中文字幕一区| 亚洲精品久久久蜜桃| 欧美日本免费一区二区三区| 九九视频精品免费| 亚洲欧美成aⅴ人在线观看| 欧美老肥妇做.爰bbww| 国产激情偷乱视频一区二区三区| 国产精品成人免费在线| 欧美精品久久久久久久多人混战 | 4438成人网| 成人午夜免费视频| 精品福利二区三区| jlzzjlzz亚洲日本少妇| 婷婷成人激情在线网| 久久综合给合久久狠狠狠97色69| 成人午夜伦理影院| 日本aⅴ亚洲精品中文乱码| 亚洲国产成人私人影院tom| 欧美久久久影院| 99久久伊人精品| 久久精品国产一区二区| 亚洲男人的天堂在线aⅴ视频| 精品国产一二三| 在线观看国产日韩| 成+人+亚洲+综合天堂| 国产乱码精品一品二品| 免费人成黄页网站在线一区二区| 国产精品成人免费| 国产午夜久久久久| 日韩一区二区在线看| 欧美中文字幕一区二区三区 | 色婷婷av一区| 成人免费视频播放| 国产伦精品一区二区三区免费迷| 视频一区免费在线观看| 亚洲天堂精品在线观看| 国产精品网曝门| 久久精品视频一区二区| 欧美成人综合网站| 日韩欧美中文字幕一区| 欧美日韩电影在线播放| 欧美天堂亚洲电影院在线播放| 91丨九色porny丨蝌蚪| 99re免费视频精品全部| av中文字幕不卡| 99久免费精品视频在线观看| 福利一区二区在线| 94色蜜桃网一区二区三区| 成人精品小蝌蚪| 成人精品国产一区二区4080| 国产成人日日夜夜| 久久国产精品免费| 黄页网站大全一区二区| 麻豆久久一区二区| 日本伊人午夜精品| 三级欧美在线一区| 婷婷成人激情在线网| 日韩av电影免费观看高清完整版在线观看| 亚洲永久精品国产| 婷婷夜色潮精品综合在线| 亚洲成年人网站在线观看| 日日欢夜夜爽一区| 国产综合一区二区| 精品一区二区在线视频| 国产在线国偷精品产拍免费yy| 日韩av二区在线播放| 国产精品一区免费在线观看| 国产激情视频一区二区三区欧美| 国产成人综合在线观看| 91网站在线观看视频| 欧美性欧美巨大黑白大战| 欧美色男人天堂| 久久五月婷婷丁香社区| 国产日韩一级二级三级| 亚洲激情自拍偷拍| 亚洲电影第三页| 国产一区二区在线观看视频| 99久久精品国产网站| 欧美亚洲一区三区| 久久九九影视网| 亚洲精品菠萝久久久久久久| 首页欧美精品中文字幕| 粉嫩嫩av羞羞动漫久久久| 色综合天天综合| 日韩一级视频免费观看在线| 亚洲人成伊人成综合网小说| 日本va欧美va欧美va精品| 成人午夜免费视频| 欧美色男人天堂| 中文字幕免费一区| 日日摸夜夜添夜夜添国产精品| 国产一区二区三区在线看麻豆| 色婷婷精品大在线视频 | 韩国视频一区二区| 欧美三级三级三级爽爽爽| 一本到高清视频免费精品| 成人午夜激情在线| 久久精品国产免费| 1000部国产精品成人观看|