Home
last modified time | relevance | path

Searched refs:tempSampleIdx (Results 1 – 1 of 1) sorted by relevance

/external/platform/lpc15xx/lpcopen/periph_temp/example/src/
A Dtemp.c40 static volatile int tempSampleIdx; variable
63 tempSampleIdx = 0; in tempStartCycle()
120 if (tempSampleIdx < TEMPSAMPLES) { in ADC0A_IRQHandler()
122 temp[tempSampleIdx] = Chip_ADC_GetDataReg(LPC_ADC0, 0); in ADC0A_IRQHandler()
123 tempSampleIdx++; in ADC0A_IRQHandler()
125 if (tempSampleIdx >= TEMPSAMPLES) { in ADC0A_IRQHandler()

Completed in 2 milliseconds