📄 discdemod.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: Discrete CDMA downlink demodulation containing QPSK data | and spreading modulation. | No multipath, i.e. ideal channel and synchronisation. | Author: Tommi Makelainen, Nokia/NIST | Date: February 23, 1999 | | History: | February 23, 1999 Tommi Makelainen | Initial version. | */#include "config_wcdma.h"/* ------------------------------------------------------------------- *//* * Function: wcdma_demod_init * Desc.: Discrete data and spreading demodulation initialization. * * Note: */int wcdma_demod_init(void);/* -------------------------------------------------------------------- *//* * Function: wcdma_dl_demod * Desc.: Data and spreading modulation * * Note: * Input data length can be maximum of 4000 symbols. * Output vector length is: * nInputs / sf * 2 */int wcdma_dl_demod(int I_inputs[], /* I input symbol vector */ int Q_inputs[], /* Q input symbol vector */ int nInputs, /* input vector size */ int code[], /* spreading code */ int code_len, /* length of spreading code */ int sf, /* spreadign factor */ int coded_out[]); /* channel coded output *//* -------------------------------------------------------------------- *//* * Function: wcdma_dl_demod_free * Desc.: Discrete modulation clean up function. * * Note: */int wcdma_dl_demod_free(void);/* -------------------------------------------------------------------- */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -