Searched refs:bestScaler (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/ |
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()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/ |
D | fsl_lpspi.c | 539 uint32_t scaler, bestScaler; in LPSPI_MasterSetBaudRate() local 554 bestScaler = 255; in LPSPI_MasterSetBaudRate() 584 bestScaler = scaler; in LPSPI_MasterSetBaudRate() 601 LPSPI_CCR_SCKDIV(bestScaler); in LPSPI_MasterSetBaudRate() 603 base->CCR = (base->CCR & ~LPSPI_CCR_SCKDIV_MASK) | LPSPI_CCR_SCKDIV(bestScaler); in LPSPI_MasterSetBaudRate() 714 uint32_t scaler, bestScaler; local 731 bestScaler = 0xFFU; 805 bestScaler = scaler; 812 LPSPI_MasterSetDelayScaler(base, bestScaler, whichDelay);
|