Home
last modified time | relevance | path

Searched refs:realDelay (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
791 realDelay = 1000000000U;
792 realDelay *= ((uint64_t)scaler + 1UL + (uint64_t)additionalScaler);
793 realDelay /= clockDividedPrescaler;
798 if (realDelay >= delayTimeInNanoSec)
800 diff = (uint32_t)(realDelay - (uint64_t)delayTimeInNanoSec);
806 bestDelay = realDelay;
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c585 uint32_t realDelay, bestDelay; in DSPI_MasterSetDelayTimes() local
616realDelay = ((4000000000U / srcClock_Hz) * s_delayPrescaler[prescaler] * s_delayScaler[scaler]) / … in DSPI_MasterSetDelayTimes()
621 if (realDelay >= delayTimeInNanoSec) in DSPI_MasterSetDelayTimes()
623 diff = realDelay - delayTimeInNanoSec; in DSPI_MasterSetDelayTimes()
630 bestDelay = realDelay; in DSPI_MasterSetDelayTimes()