Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/emc/
Dfsl_emc.c109 uint32_t cycles; in EMC_CalculateTimerCycles() local
111 cycles = CLOCK_GetEmcClkFreq() / EMC_HZ_ONEMHZ * timer_Ns; in EMC_CalculateTimerCycles()
112 cycles = EMC_DIV_ROUND_UP(cycles, EMC_MILLISECS_ONESEC); /* Round up. */ in EMC_CalculateTimerCycles()
115 if (cycles >= plus) in EMC_CalculateTimerCycles()
117 cycles = cycles - plus; in EMC_CalculateTimerCycles()
121 cycles = 0; in EMC_CalculateTimerCycles()
124 return cycles; in EMC_CalculateTimerCycles()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpi2c/
Dfsl_lpi2c.c251 uint32_t cycles = (width_ns * 10U / busCycle_ns + 5U) / 10U; in LPI2C_GetCyclesForWidth() local
254 if (cycles < minCycles) in LPI2C_GetCyclesForWidth()
256 cycles = minCycles; in LPI2C_GetCyclesForWidth()
259 if (cycles > maxCycles) in LPI2C_GetCyclesForWidth()
261 cycles = maxCycles; in LPI2C_GetCyclesForWidth()
264 return cycles; in LPI2C_GetCyclesForWidth()
462 uint32_t cycles; in LPI2C_MasterInit() local
508 cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sdaGlitchFilterWidth_ns, 1U, in LPI2C_MasterInit()
511 cfgr2 |= LPI2C_MCFGR2_FILTSDA(cycles); in LPI2C_MasterInit()
517 cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sclGlitchFilterWidth_ns, 1U, in LPI2C_MasterInit()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/
DREADME.md17 Re-quantization | Shift and saturate in one instruction. ~ 5 cycles | Greater than 200 cycles for o…