Lines Matching refs:ADC14

43 { &ADC14->MCTL[0], &ADC14->MCTL[1], &ADC14->MCTL[2], &ADC14->MCTL[3],
44 &ADC14->MCTL[4], &ADC14->MCTL[5], &ADC14->MCTL[6], &ADC14->MCTL[7],
45 &ADC14->MCTL[8], &ADC14->MCTL[9], &ADC14->MCTL[10],
46 &ADC14->MCTL[11], &ADC14->MCTL[12], &ADC14->MCTL[13],
47 &ADC14->MCTL[14], &ADC14->MCTL[15], &ADC14->MCTL[16],
48 &ADC14->MCTL[17], &ADC14->MCTL[18], &ADC14->MCTL[19],
49 &ADC14->MCTL[20], &ADC14->MCTL[21], &ADC14->MCTL[22],
50 &ADC14->MCTL[23], &ADC14->MCTL[24], &ADC14->MCTL[25],
51 &ADC14->MCTL[26], &ADC14->MCTL[27], &ADC14->MCTL[28],
52 &ADC14->MCTL[29], &ADC14->MCTL[30], &ADC14->MCTL[31] };
143 return BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_BUSY_OFS); in ADCIsConversionRunning()
148 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_ON_OFS) = 1; in ADC14_enableModule()
156 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_ON_OFS) = 0; in ADC14_disableModule()
166 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_SHP_OFS) = 1; in ADC14_enableSampleTimer()
170 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_MSC_OFS) = 0; in ADC14_enableSampleTimer()
173 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_MSC_OFS) = 1; in ADC14_enableSampleTimer()
184 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_SHP_OFS) = 0; in ADC14_disableSampleTimer()
223 ADC14->CTL0 = (ADC14->CTL0 in ADC14_initModule()
227 ADC14->CTL1 = (ADC14->CTL1 in ADC14_initModule()
240 ADC14->CTL1 = (ADC14->CTL1 & ~ADC14_CTL1_RES_MASK) | resolution; in ADC14_setResolution()
245 return ADC14->CTL1 & ADC14_CTL1_RES_MASK; in ADC14_getResolution()
265 ADC14->CTL0 = (ADC14->CTL0 in ADC14_setSampleHoldTrigger()
270 ADC14->CTL0 = (ADC14->CTL0 in ADC14_setSampleHoldTrigger()
303 ADC14->CTL0 = (ADC14->CTL0 in ADC14_setSampleHoldTime()
333 ADC14->CTL1 = (ADC14->CTL1 & ~(ADC14_CTL1_CSTARTADD_MASK)) in ADC14_configureMultiSequenceMode()
339 ADC14->CTL0 = (ADC14->CTL0 & ~(ADC14_CTL0_CONSEQ_MASK)) in ADC14_configureMultiSequenceMode()
343 ADC14->CTL0 = (ADC14->CTL0 & ~(ADC14_CTL0_CONSEQ_MASK)) in ADC14_configureMultiSequenceMode()
359 ADC14->CTL1 = (ADC14->CTL1 & ~(ADC14_CTL1_CSTARTADD_MASK)) in ADC14_configureSingleSampleMode()
365 ADC14->CTL0 = (ADC14->CTL0 & ~(ADC14_CTL0_CONSEQ_MASK)) in ADC14_configureSingleSampleMode()
369 ADC14->CTL0 = (ADC14->CTL0 & ~(ADC14_CTL0_CONSEQ_MASK)) in ADC14_configureSingleSampleMode()
378 if (ADCIsConversionRunning() || !BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_ON_OFS)) in ADC14_enableConversion()
381 ADC14->CTL0 |= (ADC14_CTL0_ENC); in ADC14_enableConversion()
388 if (!BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_ON_OFS)) in ADC14_toggleConversionTrigger()
391 if (BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_SC_OFS)) in ADC14_toggleConversionTrigger()
393 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_SC_OFS) = 0; in ADC14_toggleConversionTrigger()
396 BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_SC_OFS) = 1; in ADC14_toggleConversionTrigger()
404 ADC14->CTL0 &= ~(ADC14_CTL0_SC | ADC14_CTL0_ENC); in ADC14_disableConversion()
409 return BITBAND_PERI(ADC14->CTL0, ADC14_CTL0_BUSY_OFS); in ADC14_isBusy()
535 if(BITBAND_PERI(ADC14->CTL1, ADC14_CTL1_DF_OFS)) in ADC14_setComparatorWindowValue()
543 ADC14->HI0 = (high); in ADC14_setComparatorWindowValue()
544 ADC14->LO0 = (low); in ADC14_setComparatorWindowValue()
548 ADC14->HI1 = (high); in ADC14_setComparatorWindowValue()
549 ADC14->LO1 = (low); in ADC14_setComparatorWindowValue()
567 BITBAND_PERI(ADC14->CTL1, ADC14_CTL1_DF_OFS) = 0; in ADC14_setResultFormat()
570 BITBAND_PERI(ADC14->CTL1, ADC14_CTL1_DF_OFS) = 1; in ADC14_setResultFormat()
590 startAddr = (uint32_t*) _ctlRegs[(ADC14->CTL1 & ADC14_CTL1_CSTARTADD_MASK) in ADC14_getMultiSequenceResult()
646 BITBAND_PERI(ADC14->CTL1, ADC14_CTL1_REFBURST_OFS) = 1; in ADC14_enableReferenceBurst()
656 BITBAND_PERI(ADC14->CTL1, ADC14_CTL1_REFBURST_OFS) = 0; in ADC14_disableReferenceBurst()
669 ADC14->CTL1 = (ADC14->CTL1 & ~(ADC14_CTL1_PWRMD_MASK)) in ADC14_setPowerMode()
673 ADC14->CTL1 = (ADC14->CTL1 & ~(ADC14_CTL1_PWRMD_MASK)) in ADC14_setPowerMode()
688 ADC14->IER0 |= stat; in ADC14_enableInterrupt()
690 ADC14->IER1 |= (stat); in ADC14_enableInterrupt()
697 ADC14->IER0 &= ~stat; in ADC14_disableInterrupt()
699 ADC14->IER1 &= ~(stat); in ADC14_disableInterrupt()
704 uint_fast64_t status = ADC14->IFGR1; in ADC14_getInterruptStatus()
705 return ((status << 32) | ADC14->IFGR0); in ADC14_getInterruptStatus()
710 uint_fast64_t stat = ADC14->IER1; in ADC14_getEnabledInterruptStatus()
712 return ADC14_getInterruptStatus() & ((stat << 32) | ADC14->IER0); in ADC14_getEnabledInterruptStatus()
720 ADC14->CLRIFGR0 |= stat; in ADC14_clearInterruptFlag()
722 ADC14->CLRIFGR1 |= (stat); in ADC14_clearInterruptFlag()