Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/s32/drivers/s32ze/Mcu/src/
DClock_Ip_Monitor.c292 uint32 HfRef = 0U; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref() local
335 HfRef = MonitoredClk * (1000U + CLOCK_IP_CMU_MONITORED_CLOCK_VARIATION); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
339 DividerResult = (uint32) HfRef / DivideBy; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
340 ModuloValue = HfRef - (DivideBy * DividerResult); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
343 HfRef = (DividerResult * RefCount) + ((ModuloValue * RefCount) / DivideBy); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
344 HfRef += (CLOCK_IP_CMU_FC_VAR + 1U); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
347 HfRef = (HfRef > (uint32)0xFFFFFC)? (uint32)0xFFFFFC : HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
370 CmuFc->HTCR = HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
389 (void)HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
/hal_nxp-3.7.0/s32/drivers/s32k1/Mcu/src/
DClock_Ip_Monitor.c292 uint32 HfRef = 0U; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref() local
332 HfRef = MonitoredClk * (1000U + CLOCK_IP_CMU_MONITORED_CLOCK_VARIATION) * RefCount; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
334 DividerResult = (uint32) HfRef / DivideBy; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
335 ModuloValue = HfRef - (DivideBy * DividerResult); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
336HfRef = (DividerResult * CLOCK_IP_CMU_REFERENCE_COUNTER_MINIMUM_VALUE_MULTIPLIER) + ((uint32)((Mod… in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
350 CmuFc->HTCR = HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
369 (void)HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
/hal_nxp-3.7.0/s32/drivers/s32k3/Mcu/src/
DClock_Ip_Monitor.c324 uint32 HfRef = 0U; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref() local
364 HfRef = MonitoredClk * (1000U + CLOCK_IP_CMU_MONITORED_CLOCK_VARIATION) * RefCount; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
366 DividerResult = (uint32) HfRef / DivideBy; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
367 ModuloValue = HfRef - (DivideBy * DividerResult); in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
368HfRef = (DividerResult * CLOCK_IP_CMU_REFERENCE_COUNTER_MINIMUM_VALUE_MULTIPLIER) + ((uint32)((Mod… in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
382 CmuFc->HTCR = HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()
401 (void)HfRef; in Clock_Ip_SetCmuFcFceRefCntLfrefHfref()