vect_dsp16_min.c File Reference


Detailed Description

generic 16-bit vector minimum function

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

Definition in file vect_dsp16_min.c.

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

Go to the source code of this file.

Defines

#define DSP16_MIN_KERNEL_X_FCT(x_num, data)
#define DSP16_MINIMUM(x_num, data)

Functions

dsp16_t dsp16_vect_min (dsp16_t *vect1, int size)
 16-bit fixed point version of the vector minimum function.


Define Documentation

#define DSP16_MIN_KERNEL_X_FCT ( x_num,
data   ) 

Value:

static dsp16_t TPASTE2(dsp16_vect_min_kernel_x, x_num)(dsp16_t *vect1, dsp16_t min) \
{ \
  MREPEAT(x_num, DSP16_MINIMUM, ""); \
  return min; \
}

Definition at line 60 of file vect_dsp16_min.c.

#define DSP16_MINIMUM ( x_num,
data   ) 

Value:

if (min > vect1[x_num]) \
    min = vect1[x_num];

Definition at line 53 of file vect_dsp16_min.c.

Referenced by dsp16_vect_min().


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