qpsk.h

来自「wcdma模型」· C头文件 代码 · 共 66 行

H
66
字号
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*//* | Project:	WCDMA simulation environment | Module:      QPSK data modulation and demodulation | Author:      Tommi Makelainen, Nokia/NIST | Date:        January 6, 1999 | | History: |              January 6, 1999 Tommi Makelainen |                      Initial version. | */#include <stdio.h>#include <math.h>/* * Function:    wcdma_dl_qpsk_mod * Desc.:       QPSK data modulation * * Inputs: *   data       input data bit vector *   data_len   length of input data vector, in bytes. * Outputs: *   I_out      output I parts of complex symbol vector *   Q_out      output Q parts of complex symbol vector *   out        output length of complex symbol vector * * Note: *		Incoming data have to be a multiple of full bytes. *		Output vectors must be 4 times longer than input vector. */int wcdma_dl_qpsk_mod(char data[], int data_len, char I_out[],                      char Q_out[], int *out_len);/* * Function:    wcdma_dl_qpsk_demod * Desc.:       QPSK data demodulation * * Inputs: *   I_in       input I part of complex symbol vector *   Q_in       input Q part of complex symbol vector *   in_len     length of input symbol vectors * Outputs: *   out_data   output symbol vector *   out_len    length of output symbol vector * * Note: */int wcdma_dl_qpsk_demod(char I_in[], char Q_in[], int in_len,                        char out_data[], int *out_len);

⌨️ 快捷键说明

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