相关代码 |
|
/* inBuf存取I、Q信号缓冲区,16位,缓冲区大小1024 */ /*outBuf存取解调后数据缓冲区,32位,缓冲区大小256*/ /* arctan ()为反正切函数*/ demodulateFSK(INT16 *inBuf,Uint32 *outBuf,INT16 Length) { INT16 i; for(i=0;i { *outBuf[i/4]=arctan(inBuf[i+1]/inBuf[i])- arctan(inBuf[i+3]/inBuf[I+2]); } }
相关资源 |
|