📄 qpsk_ints.h
字号:
/* | | 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: * Output vectors must be 4 times longer than input vector. */int wcdma_dl_qpsk_mod(int data[], int data_len, int I_out[], int 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(int I_in[], int Q_in[], int in_len, int out_data[], int *out_len);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -