Searched refs:hfperFreq (Results 1 – 6 of 6) sorted by relevance
390 uint32_t hfperFreq = CMU_ClockFreqGet(cmuClock_HFPERC); in ADC_Init() local392 uint32_t hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in ADC_Init()394 uint32_t adcFreq = hfperFreq / (presc + 1); in ADC_Init()1018 uint8_t ADC_PrescaleCalc(uint32_t adcFreq, uint32_t hfperFreq) in ADC_PrescaleCalc() argument1030 if (hfperFreq == 0UL) { in ADC_PrescaleCalc()1032 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPERC); in ADC_PrescaleCalc()1034 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in ADC_PrescaleCalc()1038 ret = (hfperFreq + adcFreq - 1U) / adcFreq; in ADC_PrescaleCalc()1114 uint8_t ADC_TimebaseCalc(uint32_t hfperFreq) in ADC_TimebaseCalc() argument1116 if (hfperFreq == 0UL) { in ADC_TimebaseCalc()[all …]
261 uint8_t DAC_PrescaleCalc(uint32_t dacFreq, uint32_t hfperFreq) in DAC_PrescaleCalc() argument271 if (!hfperFreq) { in DAC_PrescaleCalc()272 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in DAC_PrescaleCalc()279 if ((hfperFreq >> ret) <= dacFreq) { in DAC_PrescaleCalc()
476 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq) in VDAC_PrescaleCalc() argument488 if (hfperFreq) { in VDAC_PrescaleCalc()489 refFreq = hfperFreq; in VDAC_PrescaleCalc()
386 uint8_t DAC_PrescaleCalc(uint32_t dacFreq, uint32_t hfperFreq);
1152 uint8_t ADC_TimebaseCalc(uint32_t hfperFreq);1153 uint8_t ADC_PrescaleCalc(uint32_t adcFreq, uint32_t hfperFreq);
759 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq);