Atmel Software Framework

dsp_operators.h File Reference

Functions

static dsp16_t dsp16_op_abs (dsp16_t number)
 16-bit fixed point version of the absolute function. More...
 
static dsp16_t dsp16_op_acos (dsp16_t number)
 16-bit fixed point version of the arc cosine function. More...
 
dsp16_t dsp16_op_asin (dsp16_t number)
 16-bit fixed point version of the arc sine function. More...
 
static dsp16_t dsp16_op_cos (dsp16_t angle)
 16-bit fixed point version of the cosine function. More...
 
static dsp16_t dsp16_op_div (dsp16_t num, dsp16_t den)
 16-bit fixed point version of the division function. More...
 
dsp16_t dsp16_op_exp (dsp16_t number)
 16-bit fixed point version of the exponential function. More...
 
dsp16_t dsp16_op_ln (dsp16_t number)
 16-bit fixed point version of the natural logarithm function. More...
 
dsp16_t dsp16_op_log10 (dsp16_t number)
 16-bit fixed point version of the common logarithm function. More...
 
dsp16_t dsp16_op_log2 (dsp16_t number)
 16-bit fixed point version of the binary logarithm function. More...
 
static dsp16_t dsp16_op_mul (dsp16_t num1, dsp16_t num2)
 16-bit fixed point version of the multiplication function. More...
 
dsp16_t dsp16_op_pow (dsp16_t x, dsp16_t y)
 16-bit fixed point version of the power function. More...
 
dsp16_t dsp16_op_rand (void)
 16-bit fixed point version of the random operator. More...
 
dsp16_t dsp16_op_sin (dsp16_t angle)
 16-bit fixed point version of the sine function. More...
 
dsp16_t dsp16_op_sqrt (dsp16_t number)
 16-bit fixed point version of the square root function. More...
 
static dsp32_t dsp32_op_abs (dsp32_t number)
 32-bit fixed point version of the absolute function. More...
 
static dsp32_t dsp32_op_acos (dsp32_t number)
 32-bit fixed point version of the arc cosine function. More...
 
dsp32_t dsp32_op_asin (dsp32_t number)
 32-bit fixed point version of the arc sine function. More...
 
static dsp32_t dsp32_op_cos (dsp32_t angle)
 32-bit fixed point version of the cosine function. More...
 
static dsp32_t dsp32_op_div (dsp32_t num, dsp32_t den)
 32-bit fixed point version of the division function. More...
 
dsp32_t dsp32_op_exp (dsp32_t number)
 32-bit fixed point version of the exponential function. More...
 
dsp32_t dsp32_op_ln (dsp32_t number)
 32-bit fixed point version of the natural logarithm function. More...
 
dsp32_t dsp32_op_log10 (dsp32_t number)
 32-bit fixed point version of the common logarithm function. More...
 
dsp32_t dsp32_op_log2 (dsp32_t number)
 32-bit fixed point version of the binary logarithm function. More...
 
static dsp32_t dsp32_op_mul (dsp32_t num1, dsp32_t num2)
 32-bit fixed point version of the multiplication function. More...
 
dsp32_t dsp32_op_pow (dsp32_t x, dsp32_t y)
 32-bit fixed point version of the power function. More...
 
dsp32_t dsp32_op_rand (void)
 32-bit fixed point version of the random operator. More...
 
dsp32_t dsp32_op_sin (dsp32_t angle)
 32-bit fixed point version of the sine function. More...
 
dsp32_t dsp32_op_sqrt (dsp32_t number)
 32-bit fixed point version of the square root function. More...
 
void dsp_op_srand (int new_seed)
 Initialize the pseudo-random number generator. More...