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: How dcoffset value is set in MSP430FR2355 SPO2

Part Number: MSP430FR2355

void PPG_initDCTracker(PPG_Signal *ppg)
{
if((ppg->sample[1]>4000)||(ppg->sample[1]<100)) // PGA output saturation
{
ppg->dc_1st = ppg->sample[0];
ppg->dc_register_1st = ((int32_t)ppg->dc_1st<<K);
}
}

what happens when we change this value?? what is the maximum and minimum offset value

what is the logic behind this line

 ((int32_t)ppg->dc_1st<<K)

reference URL:

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

**Attention** This is a public forum