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

📄 audcodec.h

📁 M3355的源代码
💻 H
字号:
#include <platform.h>
/* 30121-15ho : (BEGIN) Add this file to separate the audio DAC setting.*/
//************************** Audio DAC Master Clock Definition *************************//
#define AudioDAC_MCLK_256fs	0
#define AudioDAC_MCLK_384fs     1
//************************** Audio DAC Master Clock Definition *************************//

//************************** Audio DAC Resolution Definition *************************//
#define AudioDAC_16bit 0
#define AudioDAC_24bit 1
#define AudioDAC_32bit 2
//************************** Audio DAC Resolution Definition *************************//

//************************** Audio DAC Protocol Definition *************************//
#define AudioDAC_Left_Justified 0
#define AudioDAC_Right_Justified 1
#define AudioDAC_I2S 2
//************************** Audio DAC Protocol Definition *************************//

#define _AudioDAC_MCLK		  AudioDAC_MCLK_384fs
#define _AudioDAC_TimeSlot	  AudioDAC_24bit
#if (_MODEL == CYP300U)
#define _AudioDAC_Protocol        AudioDAC_Left_Justified
#elif (_MODEL == CYP325U)
#define _AudioDAC_Protocol        AudioDAC_Left_Justified  //for 325 //AudioDAC_I2S  //2830
#elif (_MODEL == CYP2830G)
#define _AudioDAC_Protocol        AudioDAC_I2S  //2830
#else
#define _AudioDAC_Protocol        AudioDAC_Right_Justified
#endif
/* 30121-15ho : (END) Add this file to separate the audio DAC setting.*/

⌨️ 快捷键说明

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