Home
last modified time | relevance | path

Searched refs:min_diff (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.c438 uint32_t diff, min_diff; in DSPI_MasterSetBaudRate() local
442 min_diff = 0xFFFFFFFFU; in DSPI_MasterSetBaudRate()
463 if (min_diff > diff) in DSPI_MasterSetBaudRate()
466 min_diff = diff; in DSPI_MasterSetBaudRate()
473 if (0U == min_diff) in DSPI_MasterSetBaudRate()
479 if (0U == min_diff) in DSPI_MasterSetBaudRate()
484 if (0U == min_diff) in DSPI_MasterSetBaudRate()
586 uint32_t diff, min_diff; in DSPI_MasterSetDelayTimes() local
592 min_diff = 0xFFFFFFFFU; in DSPI_MasterSetDelayTimes()
624 if (min_diff > diff) in DSPI_MasterSetDelayTimes()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ecspi/
Dfsl_ecspi.c408 uint32_t min_diff = 0xFFFFFFFFU; in ECSPI_SetBaudRate() local
428 if (diff < min_diff) in ECSPI_SetBaudRate()
430 min_diff = diff; in ECSPI_SetBaudRate()
438 if (diff < min_diff) in ECSPI_SetBaudRate()
440 min_diff = diff; in ECSPI_SetBaudRate()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi.c541 uint32_t diff, min_diff; in LPSPI_MasterSetBaudRate() local
547 min_diff = 0xFFFFFFFFU; in LPSPI_MasterSetBaudRate()
561 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
567 if (min_diff == 0U) in LPSPI_MasterSetBaudRate()
579 if (min_diff > diff) in LPSPI_MasterSetBaudRate()
582 min_diff = diff; in LPSPI_MasterSetBaudRate()
715 uint32_t diff, min_diff; local
728 min_diff = 0xFFFFFFFFU;
783 if (min_diff == 0U)
801 if (min_diff > diff)
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi.c744 uint32_t min_diff; in SPI_MasterSetBaudRate() local
748 min_diff = 0xFFFFFFFFU; in SPI_MasterSetBaudRate()
757 if (min_diff == 0U) in SPI_MasterSetBaudRate()
766 if (min_diff == 0U) in SPI_MasterSetBaudRate()
778 if (min_diff > diff) in SPI_MasterSetBaudRate()
781 min_diff = diff; in SPI_MasterSetBaudRate()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.c365 uint32_t perscalar = 0U, calculate_us = 0U, us_diff = 0U, min_diff = 0xffffffffUL; in USART_CalcTimeoutConfig() local
380 if (min_diff > us_diff) in USART_CalcTimeoutConfig()
382 min_diff = us_diff; in USART_CalcTimeoutConfig()