Home
last modified time | relevance | path

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

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_adc.c502 uint32_t scanId; in ADC_ScanSingleEndedInputAdd() local
533 scanId = ((unsigned)inputGroup * 8U) + ((unsigned)singleEndedSel & 0x7U); in ADC_ScanSingleEndedInputAdd()
534 EFM_ASSERT(scanId < 32U); in ADC_ScanSingleEndedInputAdd()
535 scanInit->scanInputConfig.scanInputEn |= 0x1UL << scanId; in ADC_ScanSingleEndedInputAdd()
536 return scanId; in ADC_ScanSingleEndedInputAdd()
577 uint32_t scanId; in ADC_ScanDifferentialInputAdd() local
580 scanId = ADC_ScanSingleEndedInputAdd(scanInit, inputGroup, posSel); in ADC_ScanDifferentialInputAdd()
587 if (scanId == 0U) { in ADC_ScanDifferentialInputAdd()
591 } else if (scanId == 2U) { in ADC_ScanDifferentialInputAdd()
595 } else if (scanId == 4U) { in ADC_ScanDifferentialInputAdd()
[all …]
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_adc.h1133 uint32_t ADC_DataIdScanGet(ADC_TypeDef *adc, uint32_t *scanId);