问题如题。
void ECG_FilterProcess(short * WorkingBuff, short * CoeffBuf, short* FilterOut)
{
short i, Val_Hi, Val_Lo;
RESHI = 0;
RESLO = 0;
MPYS = *WorkingBuff–; // Load first operand -unsigned mult
OP2 = *CoeffBuf++; // Load second operand
for ( i = 0; i < FILTERORDER/10; i++)
{
MACS = *WorkingBuff–; // Load first operand -unsigned mult
OP2 = *CoeffBuf++; // Load second operand
MACS = *WorkingBuff–; // Load first operand -unsigned mult
OP2 = *CoeffBuf++; // Load second operand
MACS = *WorkingBuff–; // Load first operand -unsigned mult
OP2 = *CoeffBuf++; // Load second operand
MACS = *WorkingBuff–; // Load first operand -unsigned mult
OP2 = *CoeffBuf++; // Load second operand
Amy Luo:
您好,
您使用的产品型号是什么,您参考的哪里的代码
user4342240:
回复 Amy Luo:
您好!
ADS1x9x_ECG_Recorder_FW工程,ADS1x9x_ECG_Processing.c文件中的代码,谢谢!
Amy Luo:
回复 user4342240:
这个问题在下面链接E2E论坛上已经有人咨询过了,现在没有办法联系写这段代码的人,因此抱歉无法给您提供帮助
另外请注意,代码是“按原样”提供的,不支持修改/更改。该软件是对我们的评估平台进行优化,因此可能不太适合终端设备应用。
e2e.ti.com/…/822544