📄 discmod.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 modulation containing QPSK data | and spreading modulation. | Author: Tommi Makelainen, Nokia/NIST | Date: February 22, 1999 | | History: | February 22, 1999 Tommi Makelainen | Initial version. | *//* ------------------------------------------------------------------- *//* * Function: wcdma_mod_init * Desc.: Discrete data and spreading modulation initialization. * * Note: */int wcdma_mod_init(void);/* -------------------------------------------------------------------- *//* * Function: wcdma_dl_mod * Desc.: Data and spreading modulation * * Note: * Input data length can be maximum of 2000 coded bits. */int wcdma_dl_mod(int inputs[], /* input bit vector */ int nInputs, /* input vector size */ int code[], /* spreading code */ int code_len, /* length of spreading code */ int sf, /* spreadign factor */ int I_out[], /* modulated I output */ int Q_out[]); /* modulated Q output *//* -------------------------------------------------------------------- *//* * Function: wcdma_dl_mod_free * Desc.: Discrete modulation clean up function. * * Note: */int wcdma_dl_mod_free(void);/* -------------------------------------------------------------------- */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -