vect_dsp16_pow.c File Reference


Detailed Description

generic 16-bit vector power function

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file vect_dsp16_pow.c.

#include "dsp.h"
#include "preprocessor.h"

Go to the source code of this file.

Defines

#define DSP16_POW_KERNEL_X_FCT(x_num, data)
#define DSP16_POWER(x_num, data)   vect1[x_num] = dsp16_op_pow(vect2[x_num], real);

Functions

void dsp16_vect_pow (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the power function.


Define Documentation

#define DSP16_POW_KERNEL_X_FCT ( x_num,
data   ) 

Value:

static void TPASTE2(dsp16_vect_pow_kernel_x, x_num)(dsp16_t *vect1, dsp16_t *vect2, dsp16_t real) \
{ \
  MREPEAT(x_num, DSP16_POWER, ""); \
}

Definition at line 59 of file vect_dsp16_pow.c.

#define DSP16_POWER ( x_num,
data   )     vect1[x_num] = dsp16_op_pow(vect2[x_num], real);

Definition at line 53 of file vect_dsp16_pow.c.

Referenced by dsp16_vect_pow().


Generated on Fri Feb 19 02:23:20 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5