Home
last modified time | relevance | path

Searched refs:tempCnt (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT735S/drivers/
Dfsl_clock.c722 uint32_t tempCnt = 0U; in CLOCK_EnableFroAutoTuning() local
756 tempCnt = (10U * refFreq + freqkHZ - 1U) / in CLOCK_EnableFroAutoTuning()
759 …config->enableInt | FRO_CNFG1_RFCLKCNT(tempCnt) | FRO_CNFG1_REFDIV((uint32_t)config->refDiv - 1UL); in CLOCK_EnableFroAutoTuning()
762 tempCnt = (uint32_t)((uint64_t)config->targetFreq * tempCnt / refFreq); in CLOCK_EnableFroAutoTuning()
763 … base->TEXPCNT.RW = FRO_TEXPCNT_TEXPCNT(tempCnt) | FRO_TEXPCNT_TEXPCNT_RANGE(config->range); in CLOCK_EnableFroAutoTuning()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT798S/drivers/
Dfsl_clock.c722 uint32_t tempCnt = 0U; in CLOCK_EnableFroAutoTuning() local
756 tempCnt = (10U * refFreq + freqkHZ - 1U) / in CLOCK_EnableFroAutoTuning()
759 …config->enableInt | FRO_CNFG1_RFCLKCNT(tempCnt) | FRO_CNFG1_REFDIV((uint32_t)config->refDiv - 1UL); in CLOCK_EnableFroAutoTuning()
762 tempCnt = (uint32_t)((uint64_t)config->targetFreq * tempCnt / refFreq); in CLOCK_EnableFroAutoTuning()
763 … base->TEXPCNT.RW = FRO_TEXPCNT_TEXPCNT(tempCnt) | FRO_TEXPCNT_TEXPCNT_RANGE(config->range); in CLOCK_EnableFroAutoTuning()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT758S/drivers/
Dfsl_clock.c722 uint32_t tempCnt = 0U; in CLOCK_EnableFroAutoTuning() local
756 tempCnt = (10U * refFreq + freqkHZ - 1U) / in CLOCK_EnableFroAutoTuning()
759 …config->enableInt | FRO_CNFG1_RFCLKCNT(tempCnt) | FRO_CNFG1_REFDIV((uint32_t)config->refDiv - 1UL); in CLOCK_EnableFroAutoTuning()
762 tempCnt = (uint32_t)((uint64_t)config->targetFreq * tempCnt / refFreq); in CLOCK_EnableFroAutoTuning()
763 … base->TEXPCNT.RW = FRO_TEXPCNT_TEXPCNT(tempCnt) | FRO_TEXPCNT_TEXPCNT_RANGE(config->range); in CLOCK_EnableFroAutoTuning()