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.

[参考译文] MSP430FR2355:如何在 MSP430FR2355 SPO2中设置 DSFet 值

Guru**** 2387080 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1027164/msp430fr2355-how-dcoffset-value-is-set-in-msp430fr2355-spo2

器件型号:MSP430FR2355

void PPG_initDCTracker (PPG_Signal * PPG)

if ((PPG->SAMPLE[1]>4000)||(PPG->SAMPLE[1]<100))// PGA 输出饱和

PPG->dc_1st = PPG->SAMPLE[0];
PPG->dc_register_1st =((int32_t) PPG->dc_1st <<K);

当我们更改该值时会发生什么情况? 最大和最小偏移值是多少

这条线背后的逻辑是什么

 (((int32_t)<K)

参考 URL:

www.ti.com/.../slaae25。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 GNANA、

    此代码用于 DC 跟踪功能、有 ADC->PGA 数据判断、如果超出范围、则将再次遵循此代码。

    谢谢!

    此致

    Johnson