Atmel Software Framework

gen_rectangular.c File Reference
#include "dsp.h"

Macros

#define MIN(x, y)   (((x) < (y))?(x):(y))
 

Functions

void dsp16_gen_rect (dsp16_t *vect1, int size, int f, int fs, dsp16_t duty, dsp16_t delay)
 16-bit fixed point version of the rectangular signal generation. More...
 
void dsp32_gen_rect (dsp32_t *vect1, int size, int f, int fs, dsp32_t duty, dsp32_t delay)
 32-bit fixed point version of the rectangular signal generation. More...
 

#define MIN (   x,
  y 
)    (((x) < (y))?(x):(y))