Searched refs:pcTop (Results 1 – 1 of 1) sorted by relevance
230 uint32_t pcTop = 63UL; /* Period counter top value (max. 63). */ in LESENSE_ScanFreqSet() local252 while ((refFreq / ((uint32_t)scanFreq * clkDiv) > (pcTop + 1UL)) && in LESENSE_ScanFreqSet()260 pcTop = ((uint32_t)refFreq / ((uint32_t)scanFreq * clkDiv)) - 1UL; in LESENSE_ScanFreqSet()269 ((uint32_t)pcTop << _LESENSE_TIMCTRL_PCTOP_SHIFT); in LESENSE_ScanFreqSet()275 calcScanFreq = ((uint32_t)refFreq / ((uint32_t)(1UL + pcTop) * clkDiv)); in LESENSE_ScanFreqSet()
Completed in 4 milliseconds