Home
last modified time | relevance | path

Searched refs:hfperFreq (Results 1 – 6 of 6) sorted by relevance

/hal_silabs-3.5.0/gecko/emlib/src/
Dem_adc.c1006 uint8_t ADC_PrescaleCalc(uint32_t adcFreq, uint32_t hfperFreq) in ADC_PrescaleCalc() argument
1020 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() argument
1104 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 …]
Dem_dac.c261 uint8_t DAC_PrescaleCalc(uint32_t dacFreq, uint32_t hfperFreq) in DAC_PrescaleCalc() argument
271 if (!hfperFreq) { in DAC_PrescaleCalc()
272 hfperFreq = CMU_ClockFreqGet(cmuClock_HFPER); in DAC_PrescaleCalc()
279 if ((hfperFreq >> ret) <= dacFreq) { in DAC_PrescaleCalc()
Dem_vdac.c469 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq) in VDAC_PrescaleCalc() argument
481 if (hfperFreq) { in VDAC_PrescaleCalc()
482 refFreq = hfperFreq; in VDAC_PrescaleCalc()
/hal_silabs-3.5.0/gecko/emlib/inc/
Dem_dac.h386 uint8_t DAC_PrescaleCalc(uint32_t dacFreq, uint32_t hfperFreq);
Dem_adc.h1152 uint8_t ADC_TimebaseCalc(uint32_t hfperFreq);
1153 uint8_t ADC_PrescaleCalc(uint32_t adcFreq, uint32_t hfperFreq);
Dem_vdac.h669 uint32_t VDAC_PrescaleCalc(uint32_t vdacFreq, bool syncMode, uint32_t hfperFreq);