?? codec_iis.h
字號:
/********************************************************************************\
\*Codec.h V1.00
* Copyright 2003 by SEED Electronic Technology Ltd.
* All rights reserved. Property of SEED Electronic Technology Ltd.
* Designed by: Hongshuai.Li
*********************************************************************************/
#ifndef DEC6713_AIC23_
#define DEC6713_AIC23_
#include <csl.h>
#include <csl_mcasp.h>
#include <csl_i2c.h>
/* Codec module definitions */
#define Left_Line_Input_Channel_Volume_Control 0x01
#define Right_Line_Input_Channel_Volume_Control 0x03
#define Left_Channel_Headphone_Volume_Control 0x05
#define Right_Channel_Headphone_Volume_Control 0x07
#define Analog_Audio_Path_Control 0x08
#define Digital_Audio_Path_Control 0x0a
#define Power_Down_Control 0x0c
#define Digital_Audio_Interface_Format 0x0e
#define Sample_Rate_Control 0x10
#define Digital_Interface_Activation 0x12
#define Reset_Register 0x1E
extern MCASP_Handle DEC6713_AIC23_DATAHANDLE;
/********************************************************************************/
/* Applied function defining for AIC23. */
/* Open the codec AIC23 and set AXR1[7] as transmit port,AXR[6] as receive port. */
MCASP_Handle DEC6713_AIC23_OpenCodec();
void DEC6713_AIC23_CloseCodec(MCASP_Handle hMcASP);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -