// Include support files from Chassaing's text edition 2
#include "DSK6713_AIC23.h" //codec support
Uint32 fs=DSK6713_AIC23_FREQ_8KHZ; //set sampling rate
#define DSK6713_AIC23_INPUT_MIC 0x0015 //
#define DSK6713_AIC23_INPUT_LINE 0x0011
Uint16 inputsource=DSK6713_AIC23_INPUT_LINE; // select LINE IN as input source
// * Define global variables here *
// short k;
// short gain = 10;
// int i = 0;
interrupt void c_int11() //interrupt service routine
{
// * write your interrupt service routine code here
return;
}
void main() // Main Program
{
// write your main program below
comm_intr(); //init DSK, codec, McBSP
while (1);
}
#include "DSK6713_AIC23.h" //codec support
Uint32 fs=DSK6713_AIC23_FREQ_8KHZ; //set sampling rate
#define DSK6713_AIC23_INPUT_MIC 0x0015 //
#define DSK6713_AIC23_INPUT_LINE 0x0011
Uint16 inputsource=DSK6713_AIC23_INPUT_LINE; // select LINE IN as input source
// * Define global variables here *
// short k;
// short gain = 10;
// int i = 0;
interrupt void c_int11() //interrupt service routine
{
// * write your interrupt service routine code here
return;
}
void main() // Main Program
{
// write your main program below
comm_intr(); //init DSK, codec, McBSP
while (1);
}
could you explain me the right procedure step by step
ReplyDelete