Searched refs:int16Sample (Results 1 – 2 of 2) sorted by relevance
1522 pui32LGOutBuffer->int16Sample = AM_HAL_AUDADC_FIFO_LGDATA(ui32Sample) << 4; in am_hal_audadc_samples_read()1528 if ((pui32LGOutBuffer->int16Sample >= 0) && in am_hal_audadc_samples_read()1529 (i32OffsetAdj > (32767 - pui32LGOutBuffer->int16Sample))) in am_hal_audadc_samples_read()1531 pui32LGOutBuffer->int16Sample = 32767; // Saturation in am_hal_audadc_samples_read()1533 else if ((pui32LGOutBuffer->int16Sample < 0) && in am_hal_audadc_samples_read()1534 (i32OffsetAdj < (-32768 - pui32LGOutBuffer->int16Sample))) in am_hal_audadc_samples_read()1536 pui32LGOutBuffer->int16Sample = -32768; // Saturation in am_hal_audadc_samples_read()1540 pui32LGOutBuffer->int16Sample += i32OffsetAdj; in am_hal_audadc_samples_read()1550 pui32HGOutBuffer->int16Sample = AM_HAL_AUDADC_FIFO_HGDATA(ui32Sample) << 4; in am_hal_audadc_samples_read()1556 if ((pui32HGOutBuffer->int16Sample >= 0) && in am_hal_audadc_samples_read()[all …]
325 int16_t int16Sample; member