⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 evm5509_aic23_write32.c

📁 dsp 5509a MMC 卡 ID号读取 12Mhzx16=192M
💻 C
字号:
/*
 *  Copyright 2004 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */

/*
 *  ======== evm5509_aic23_write32.c ========
 *  evm5509_AIC23_write32() implementation
 */
 
#include <evm5509.h>
#include <evm5509_aic23.h>

/*
 *  ======== EVM5509_AIC23_write32 ========
 *  Write a 32-bit value to the codec
 */
CSLBool EVM5509_AIC23_write32(EVM5509_AIC23_CodecHandle hCodec, Int32 val)
{
    /* If McBSP doesn't have new data available, return false */
    if(!MCBSP_xrdy(EVM5509_AIC23_DATAHANDLE)) {
        return (FALSE);
    }

    /* Write 32 bit data value to DXR, shift to match format mode */    
    MCBSP_write32(EVM5509_AIC23_DATAHANDLE, val);

    return (TRUE);		     
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -