Searched refs:bestScaler (Results 1 – 3 of 3) sorted by relevance
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_dspi.c | 435 uint32_t scaler, bestScaler; in DSPI_MasterSetBaudRate() local 444 bestScaler = 0; in DSPI_MasterSetBaudRate() 468 bestScaler = scaler; in DSPI_MasterSetBaudRate() 494 (bestScaler << SPI_CTAR_BR_SHIFT); in DSPI_MasterSetBaudRate() 584 uint32_t scaler, bestScaler; in DSPI_MasterSetDelayTimes() local 595 bestScaler = 0xF; in DSPI_MasterSetDelayTimes() 596 …00000000U * 4U) / srcClock_Hz) * s_delayPrescaler[bestPrescaler] * s_delayScaler[bestScaler]) / 4U; in DSPI_MasterSetDelayTimes() 629 bestScaler = scaler; in DSPI_MasterSetDelayTimes() 646 DSPI_MasterSetDelayScaler(base, whichCtar, bestPrescaler, bestScaler, whichDelay); in DSPI_MasterSetDelayTimes()
|
D | fsl_lpspi.c | 436 uint32_t scaler, bestScaler; in LPSPI_MasterSetBaudRate() local 451 bestScaler = 255; in LPSPI_MasterSetBaudRate() 481 bestScaler = scaler; in LPSPI_MasterSetBaudRate() 493 base->CCR = (base->CCR & ~LPSPI_CCR_SCKDIV_MASK) | LPSPI_CCR_SCKDIV(bestScaler); in LPSPI_MasterSetBaudRate() 581 uint32_t scaler, bestScaler; in LPSPI_MasterSetDelayTimes() local 598 bestScaler = 0xFFU; in LPSPI_MasterSetDelayTimes() 672 bestScaler = scaler; in LPSPI_MasterSetDelayTimes() 679 LPSPI_MasterSetDelayScaler(base, bestScaler, whichDelay); in LPSPI_MasterSetDelayTimes()
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpspi.c | 444 uint32_t scaler, bestScaler; in LPSPI_MasterSetBaudRate() local 459 bestScaler = 255; in LPSPI_MasterSetBaudRate() 489 bestScaler = scaler; in LPSPI_MasterSetBaudRate() 501 base->CCR = (base->CCR & ~LPSPI_CCR_SCKDIV_MASK) | LPSPI_CCR_SCKDIV(bestScaler); in LPSPI_MasterSetBaudRate() 589 uint32_t scaler, bestScaler; in LPSPI_MasterSetDelayTimes() local 606 bestScaler = 0xFFU; in LPSPI_MasterSetDelayTimes() 680 bestScaler = scaler; in LPSPI_MasterSetDelayTimes() 687 LPSPI_MasterSetDelayScaler(base, bestScaler, whichDelay); in LPSPI_MasterSetDelayTimes()
|