Home
last modified time | relevance | path

Searched refs:bestDelay (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi.c713 uint64_t realDelay, bestDelay; local
747 bestDelay = 1000000000U;
748 bestDelay *= 257U; /* based on DBT+2, or 255 + 2 */
749 bestDelay /= clockDividedPrescaler;
763 bestDelay = 1000000000U;
764 bestDelay *= 256U; /* based on SCKPCS+1 or PCSSCK+1, or 255 + 1 */
765 bestDelay /= clockDividedPrescaler;
806 bestDelay = realDelay;
815 return (uint32_t)bestDelay;
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c585 uint32_t realDelay, bestDelay; in DSPI_MasterSetDelayTimes() local
596bestDelay = (((1000000000U * 4U) / srcClock_Hz) * s_delayPrescaler[bestPrescaler] * s_delayScaler[… in DSPI_MasterSetDelayTimes()
630 bestDelay = realDelay; in DSPI_MasterSetDelayTimes()
649 return bestDelay; in DSPI_MasterSetDelayTimes()