Microchip® Advanced Software Framework

vect_dsp32_pow.c File Reference
#include "dsp.h"
#include "preprocessor.h"

Macros

#define DSP32_POW_KERNEL_X_FCT(x_num, data)
 
#define DSP32_POWER(x_num, data)   vect1[x_num] = dsp32_op_pow(vect2[x_num], real);
 

Functions

void dsp32_vect_pow (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the power function. More...
 

#define DSP32_POW_KERNEL_X_FCT (   x_num,
  data 
)
Value:
static void TPASTE2(dsp32_vect_pow_kernel_x, x_num)(dsp32_t *vect1, dsp32_t *vect2, dsp32_t real) \
{ \
MREPEAT(x_num, DSP32_POWER, ""); \
}
A_ALIGNED dsp16_t vect2[VECT2_SIZE]
First input signal.
Definition: convolution_example.c:89
#define DSP32_POWER(x_num, data)
Definition: vect_dsp32_pow.c:46
A_ALIGNED dsp16_t vect1[VECT2_SIZE+2 *(VECT3_SIZE-1)+4]
The output buffer.
Definition: convolution_example.c:86
dsp32_t__ dsp32_t
32-bit signed fixed point type optimized for 32-bit or lower microcontrollers
Definition: dsp_types.h:201
#define MREPEAT(count, macro, data)
Macro repeat.
Definition: mrepeat.h:67
#define TPASTE2(a, b)
Definition: tpaste.h:61
#define DSP32_POWER (   x_num,
  data 
)    vect1[x_num] = dsp32_op_pow(vect2[x_num], real);

Referenced by dsp32_vect_pow().