Searched refs:rawSample (Results 1 – 3 of 3) sorted by relevance
| /external/platform/lpc15xx/lpcopen/periph_adc/example/src/ |
| A D | adc.c | 64 uint32_t rawSample; in showValudeADC() local 75 rawSample = Chip_ADC_GetDataReg(pADC, j); in showValudeADC() 78 if ((rawSample & (ADC_DR_OVERRUN | ADC_SEQ_GDAT_DATAVALID)) != 0) { in showValudeADC() 80 ADC_DR_RESULT(rawSample), j); in showValudeADC() 85 ADC_DR_THCMPRANGE(rawSample)); in showValudeADC() 87 ADC_DR_THCMPCROSS(rawSample)); in showValudeADC()
|
| /external/platform/lpc15xx/lpcopen/periph_temp/example/src/ |
| A D | temp.c | 142 uint32_t rawSample; in main() local 196 rawSample = tempGetSample(); in main() 197 if ((rawSample & ADC_SEQ_GDAT_DATAVALID) != 0) { in main() 198 DEBUGOUT("Sampled temp value = 0x%04x (first = 0x%04x)\r", ADC_DR_RESULT(rawSample), in main()
|
| /external/platform/lpc15xx/lpcopen/periph_adc_rom/example/src/ |
| A D | adc_rom.c | 78 uint32_t rawSample; in showValudeADC() local 81 rawSample = adc_buffer[0][0]; in showValudeADC() 82 DEBUGOUT("ADC%d_%d: Sample value = 0x%x (Data sample %d)\r\n", 0, 0, rawSample, 0); in showValudeADC() 85 rawSample = adc_buffer[1][BOARD_ADC_CH]; in showValudeADC() 86 …DEBUGOUT("ADC%d_%d: Sample value = 0x%x (Data sample %d)\r\n", 1, BOARD_ADC_CH, rawSample, BOARD_A… in showValudeADC()
|
Completed in 4 milliseconds