Searched refs:hfperFreq (Results 1 – 6 of 6) sorted by relevance
1006 uint8_t ADC_PrescaleCalc(uint32_t adcFreq, uint32_t hfperFreq) in ADC_PrescaleCalc() argument1020 if (hfperFreq == 0UL) { in ADC_PrescaleCalc()1022 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPERC); in ADC_PrescaleCalc()1024 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in ADC_PrescaleCalc()1028 ret = (hfperFreq + adcFreq - 1U) / adcFreq; in ADC_PrescaleCalc()1102 uint8_t ADC_TimebaseCalc(uint32_t hfperFreq) in ADC_TimebaseCalc() argument1104 if (hfperFreq == 0UL) { in ADC_TimebaseCalc()1106 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPERC); in ADC_TimebaseCalc()1108 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in ADC_TimebaseCalc()1112 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()
469 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq) in VDAC_PrescaleCalc() argument481 if (hfperFreq) { in VDAC_PrescaleCalc()482 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);
669 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq);