AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 46

no-image

AN2108

Manufacturer Part Number
AN2108
Description
AN2108 Programming the DSP56307/DSP56311 EFCOP in C Using Taskings Tool Suite
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
_fract _X coeffs_X[M+1];
_fract _Y coeffs_Y[M+1];
_fract _X input[L_SUBFR+M];
_fract _X core_output[L_SUBFR];
_fract _X efcop_output[L_SUBFR];
/*** Global variables ***/
unsigned int subframe_count=0;
void main()
{
#ifdef DSP_CORE
#endif
#ifdef DSP_CORE
#endif
46
Code Listing for Residu Example
FILE *fp_in, *fp_efcop_out;
FILE *fp_core_out;
unsigned int i;
/*------------------------------------------*
if ((fp_in = fopen("tvecs\\resu_24.inp", "rb")) == NULL)
{
}
if ((fp_core_out = fopen("out\\core_24.cod", "wb")) == NULL)
{
}
(Located above 4K, as specified in "efcopdma.dsc") */
* Open data files for reading and writing
*------------------------------------------*/
printf ("Error -- Can’t open input tvec \"tvecs\\resu_24.inp\"");
printf ("\nProgram Aborted.\n");
exit(1);
printf ("Error -- Can’t open core output file \"out\\core_24.cod\"");
printf ("\nProgram Aborted.\n");
exit(1);
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
*

Related parts for AN2108