extract.c

来自「完整的OFDM系统,含Matlab仿真代码和DSP源代码下载.平台Tms320C」· C语言 代码 · 共 37 行

C
37
字号
//extract.c
//
// Project Red 2002: High Performance OFDM Modem 
// Against Channel Imperfections
// Auther: Linus Falk

#include "phase_adjust.h"
#include "channel_est.h"

void extract(float *complex_frame){
	//dft
	fft(complex_frame);
	//phase adjust
	phase_adjust(complex_frame+2);
	//channel estimate
	channel_est(complex_frame+2);
	//demodulate frame
	demodulate_frame_no_bitload(complex_frame+2);
	//demodulate_frame(complex_frame+2);
}

#pragma CODE_SECTION(init_extract,"SBSRAM_PROG_MEM");
void init_extract(void){

	//init fft
	init_fft();
	
	//init phase adjust
	init_phase_adjust();
	
	//init channel est
	init_channel_est();
	
	//init put data
	init_put_data();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?