controlsuite/库/信号生成里的Signal Generator Library 文档第12页,关于IQ格式我有疑问,见图
alpha定义为Q16,Q16怎么能够表示2π呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
controlsuite/库/信号生成里的Signal Generator Library 文档第12页,关于IQ格式我有疑问,见图
alpha定义为Q16,Q16怎么能够表示2π呢?
楼主你好!
详细看了一下,其实这并不是以标准IQ库的方式来定义的。
typedef struct {
unsigned int freq;
unsigned int step_max;
unsigned int alpha;
int gain;
int offset;
int out1;
unsigned int phase;
int out2;
void (*calc)(void *);
} SGENT_2;
可以以标幺来理解,即0xffff对应于2pI.