/* * Define here the outputs for the module */ #ifndef _OUTPUTS_H #define _OUTPUTS_H /** Interface Name: output * * Data type: 32-bit signed integer * Max output samples: 1024 * * Flow Mode: SYNC * * Description: Decimation from input flow */ /** Type declaration */ typedef float output1_t; #define OUTPUT_MAX_DATA 1024 /*Max Number of data symbols*/ /* buffer for data */ output1_t output_data[OUTPUT_MAX_DATA]; int generate_output(int len); int get_output_length(); /** configure output interfaces */ struct utils_itf output_itfs[] = { {"output", sizeof(output1_t), OUTPUT_MAX_DATA, output_data, get_output_length, generate_output, }, {NULL, 0, 0, 0, 0, 0}}; /** =============== End ================ */ #endif /* _OUTPUTS_H */