Atmel Software Framework

simulator_examples/dsp32_operators/operators_example.c File Reference

32-bit operators program test

Copyright (c) 2011-2012 Atmel Corporation. All rights reserved.

#include <avr32/io.h>
#include "compiler.h"
#include "board.h"
#include "dsp.h"
#include "dsp_debug.h"
#include "sysclk.h"
#include "cycle_counter.h"


#define NUMBER_TO_COMPUTE   0.50000000000


int main (int argc, char *argv[])
 The main function. More...

#define NUMBER_TO_COMPUTE   0.50000000000

Referenced by main().

int main ( int  argc,
char *  argv[] 

The main function.

the call to sysclk_init() will disable all non-vital peripheral clocks, except for the peripheral clocks explicitly enabled in conf_clock.h.

References dsp32_debug_sprintf(), dsp32_op_abs(), dsp32_op_acos(), dsp32_op_asin(), dsp32_op_cos(), dsp32_op_exp(), dsp32_op_ln(), dsp32_op_log10(), dsp32_op_log2(), dsp32_op_pow(), dsp32_op_rand(), dsp32_op_sin(), dsp32_op_sqrt(), DSP32_Q, dsp_debug_initialization, dsp_op_srand(), FOSC0, Get_sys_count, NUMBER_TO_COMPUTE, and sysclk_init().