Microchip® Advanced Software Framework

arm_sin_cos_example_f32.c File Reference
#include <asf.h>
#include <math.h>
#include "arm_math.h"

Macros

#define DELTA   (0.0001f)
 
#define MAX_BLOCKSIZE   32
 

Functions

int32_t main (void)
 

Variables

uint32_t blockSize = 32
 
float32_t cosOutput
 
float32_t cosSquareOutput
 
float32_t sinOutput
 
float32_t sinSquareOutput
 
arm_status status
 
const float32_t testInput_f32 [MAX_BLOCKSIZE]
 
float32_t testOutput
 
const float32_t testRefOutput_f32 = 1.000000000
 

#define DELTA   (0.0001f)

Referenced by main().

#define MAX_BLOCKSIZE   32

float32_t cosOutput

Referenced by main().

float32_t cosSquareOutput

Referenced by main().

float32_t sinOutput

Referenced by main().

float32_t sinSquareOutput

Referenced by main().

arm_status status

Referenced by abdac_callback(), abdac_init(), ac_clear_interrupt_status(), ac_interrupt_handler(), apply_channel_settings(), at25dfx_read_status(), at45dbx_mem_check(), at45dbx_wait_ready(), conf_fsk(), conf_leg_oqpsk(), conf_ofdm(), conf_oqpsk(), CONF_TEST_SPI_HANDLER(), conf_trx_modulation(), config_phy(), dump_trx_register_values(), FREQM_Handler(), fsk_rfcfg(), get_supported_channels_tuple(), handle_incoming_frame(), iis_interrupt_handler(), ksz8851snl_update(), mac_gen_mcps_data_conf(), mac_gen_mlme_gts_conf(), mac_process_tal_tx_status(), mac_reset(), main(), main_control_transfer_done(), main_iso_in_done(), main_iso_out_done(), main_transfer_done(), mem_read_capacity(), mem_test_unit_ready(), memory_2_ram(), memory_2_usb(), mlme_get(), mlme_reset_request(), mlme_set(), mlme_set_request(), nwkTxConfirm(), ofdm_rfcfg(), oqpsk_rfcfg(), pal_timer_get_id(), pal_timer_start(), pal_timer_stop(), parse_mpdu(), pdca_channel_interrupt(), pdca_channel_is_enabled(), pdca_get_channel_status(), peer_search_initiator_tx_done_cb(), per_mode_receptor_tx_done_cb(), PHY_TaskHandler(), ram_2_memory(), run_abdac_init_test(), run_fifo_flush_test(), run_fifo_overflow_test(), run_fifo_push_pull_test(), run_fifo_size_test(), run_fifo_underflow_test(), run_generic_clock_test(), run_lcdca_automated_scrolling_test(), run_lcdca_automated_sequential_test(), run_lcdca_autonomous_test(), run_lcdca_blink_test(), run_lcdca_init_test(), run_osc32_test(), run_osc_test(), run_pll_dfll_test(), run_sync_clock_test(), run_test_at25dfx_data_access(), run_test_at25dfx_init(), run_test_at25dfx_protect(), send_reset_conf(), set_paramter_on_recptor_node(), set_tal_pib_internal(), sio2host_tx(), sio2ncp_tx(), SPI_Handler(), start_ack_wait_timer(), start_backoff(), stream_mem_to_mem(), SysTick_Handler(), tal_pib_get(), tal_pib_set(), tal_pib_set_all(), tal_tx_frame_done_cb(), trx_reset(), twim_default_callback(), twis_interrupt_handler(), tx_done_handling(), udi_msc_process_trans(), udi_msc_trans_ack(), usb_2_memory(), usr_cont_pulse_tx_confirm(), usr_cont_wave_tx_confirm(), usr_ed_scan_start_confirm(), usr_get_current_config_confirm(), usr_identify_board_confirm(), usr_identify_peer_node_confirm(), usr_mcps_data_conf(), usr_mlme_gts_conf(), usr_mlme_reset_conf(), usr_mlme_set_conf(), usr_peer_disconnect_confirm(), usr_per_test_end_indication(), usr_per_test_start_confirm(), usr_perf_get_confirm(), usr_perf_set_confirm(), usr_perf_start_confirm(), usr_pkt_stream_confirm(), usr_range_test_start_confirm(), usr_range_test_stop_confirm(), usr_register_dump_confirm(), usr_register_read_confirm(), usr_register_write_confirm(), usr_rx_on_confirm(), usr_sensor_data_get_confirm(), and usr_set_default_config_confirm().

const float32_t testInput_f32[MAX_BLOCKSIZE]
Initial value:
=
{
-1.244916875853235400, -4.793533929171324800, 0.360705030233248850, 0.827929644170887320, -3.299532218312426900, 3.427441903227623800, 3.422401784294607700, -0.108308165334010680,
0.941943896490312180, 0.502609575000365850, -0.537345278736373500, 2.088817392965764500, -1.693168684143455700, 6.283185307179590700, -0.392545884746175080, 0.327893095115825040,
3.070147440456292300, 0.170611405884662230, -0.275275082396073010, -2.395492805446796300, 0.847311163536506600, -3.845517018083148800, 2.055818378415868300, 4.672594161978930800,
-1.990923030266425800, 2.469305197656249500, 3.609002606064021000, -4.586736582331667500, -4.147080139136136300, 1.643756718868359500, -1.150866392366494800, 1.985805026477433800
}

Referenced by main().

float32_t testOutput
const float32_t testRefOutput_f32 = 1.000000000

Referenced by main().