Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c434 uint32_t prescaler, bestPrescaler; in DSPI_MasterSetBaudRate() local
443 bestPrescaler = 0; in DSPI_MasterSetBaudRate()
467 bestPrescaler = prescaler; in DSPI_MasterSetBaudRate()
493 …base->CTAR[whichCtar] = temp | ((bestDbr - 1U) << SPI_CTAR_DBR_SHIFT) | (bestPrescaler << SPI_CTAR… in DSPI_MasterSetBaudRate()
583 uint32_t prescaler, bestPrescaler; in DSPI_MasterSetDelayTimes() local
594 bestPrescaler = 0x3; in DSPI_MasterSetDelayTimes()
596 …bestDelay = (((1000000000U * 4U) / srcClock_Hz) * s_delayPrescaler[bestPrescaler] * s_delayScaler[… in DSPI_MasterSetDelayTimes()
628 bestPrescaler = prescaler; in DSPI_MasterSetDelayTimes()
646 DSPI_MasterSetDelayScaler(base, whichCtar, bestPrescaler, bestScaler, whichDelay); in DSPI_MasterSetDelayTimes()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.c738 uint32_t bestPrescaler; in SPI_MasterSetBaudRate() local
751 bestPrescaler = 7U; in SPI_MasterSetBaudRate()
782 bestPrescaler = prescaler; in SPI_MasterSetBaudRate()
793 base->BR = SPI_BR_SPR(bestDivisor) | SPI_BR_SPPR(bestPrescaler); in SPI_MasterSetBaudRate()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi.c538 uint32_t prescaler, bestPrescaler; in LPSPI_MasterSetBaudRate() local
553 bestPrescaler = 7; in LPSPI_MasterSetBaudRate()
583 bestPrescaler = prescaler; in LPSPI_MasterSetBaudRate()
607 *tcrPrescaleValue = bestPrescaler; in LPSPI_MasterSetBaudRate()