DSPRelated.com
Code

Passthrough a2d2a

Ron April 1, 2011 Coded in C for the TI C67x

Converts the analog input to digital and then back for output on the analog port.

int sample;            		       
interrupt void isr()	 //interrupt start
{
	sample = get_sample();	//input from A2D
 	send_output(sample);	//output to D2A
 	return;			//interrupt complete
}