Home
last modified time | relevance | path

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

/hal_infineon-latest/bless/
Dcy_ble_hal_pvt.c772 void Cy_BLE_HAL_SetPiloTrimStep(uint32_t stepSize) in Cy_BLE_HAL_SetPiloTrimStep() argument
774 piloTrimStepSize = stepSize; in Cy_BLE_HAL_SetPiloTrimStep()
793 int32_t Cy_BLE_HAL_TryPiloTrim(uint32_t piloFreq, uint32_t targetFreq, uint32_t stepSize) in Cy_BLE_HAL_TryPiloTrim() argument
800 if (diff >= stepSize) in Cy_BLE_HAL_TryPiloTrim()
805 newTrim = curTrim - CY_SYSCLK_DIV_ROUND(piloFreq - targetFreq, stepSize); in Cy_BLE_HAL_TryPiloTrim()
813 newTrim = curTrim + CY_SYSCLK_DIV_ROUND(targetFreq - piloFreq, stepSize); in Cy_BLE_HAL_TryPiloTrim()
/hal_infineon-latest/bless/include/
Dcy_ble_hal_pvt.h170 void Cy_BLE_HAL_SetPiloTrimStep(uint32_t stepSize);
171 int32_t Cy_BLE_HAL_TryPiloTrim(uint32_t piloFreq, uint32_t targetFreq, uint32_t stepSize);
/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_sysclk.c2282 static uint32_t stepSize = CY_SYSCLK_PILO_TRIM_STEP; variable
2349 if(piloFreq > (CY_SYSCLK_PILO_TARGET_FREQ + stepSize)) in Cy_SysClk_PiloTrim()
2353 else if (piloFreq < (CY_SYSCLK_PILO_TARGET_FREQ - stepSize)) in Cy_SysClk_PiloTrim()
2369 diff = CY_SYSLIB_DIV_ROUND(diff, stepSize); in Cy_SysClk_PiloTrim()
2450 (void)stepSize; in Cy_SysClk_PiloUpdateTrimStep()
2460 stepSize = 8U; in Cy_SysClk_PiloUpdateTrimStep()
2482 stepSize += (newFreq - oldFreq); in Cy_SysClk_PiloUpdateTrimStep()
2487 stepSize = (stepSize/STEP_SIZE_ITER); in Cy_SysClk_PiloUpdateTrimStep()