Searched refs:curTrim (Results 1 – 1 of 1) sorted by relevance
796 uint32_t curTrim = 0ul; in Cy_BLE_HAL_TryPiloTrim() local802 curTrim = Cy_SysClk_PiloGetTrim(); 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()822 return ((int32_t)curTrim -(int32_t) newTrim); in Cy_BLE_HAL_TryPiloTrim()