Searched refs:tempDiff (Results 1 – 3 of 3) sorted by relevance
/hal_nxp-2.7.6/mcux/drivers/kinetis/ |
D | fsl_lpsci.c | 223 uint32_t tempDiff, calculatedBaud, baudDiff; in LPSCI_Init() local 244 tempDiff = calculatedBaud - config->baudRate_Bps; in LPSCI_Init() 247 if (tempDiff > (config->baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))))) in LPSCI_Init() 249 tempDiff = config->baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))); in LPSCI_Init() 253 if (tempDiff <= baudDiff) in LPSCI_Init() 255 baudDiff = tempDiff; in LPSCI_Init() 357 uint32_t tempDiff, calculatedBaud, baudDiff; in LPSCI_SetBaudRate() local 377 tempDiff = calculatedBaud - baudRate_Bps; in LPSCI_SetBaudRate() 380 if (tempDiff > (baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))))) in LPSCI_SetBaudRate() 382 tempDiff = baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))); in LPSCI_SetBaudRate() [all …]
|
D | fsl_lpuart.c | 253 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local 275 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init() 278 if (tempDiff <= baudDiff) in LPUART_Init() 280 baudDiff = tempDiff; in LPUART_Init() 569 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local 592 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate() 594 if (tempDiff <= baudDiff) in LPUART_SetBaudRate() 596 baudDiff = tempDiff; in LPUART_SetBaudRate()
|
/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_lpuart.c | 253 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local 275 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init() 278 if (tempDiff <= baudDiff) in LPUART_Init() 280 baudDiff = tempDiff; in LPUART_Init() 569 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local 592 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate() 594 if (tempDiff <= baudDiff) in LPUART_SetBaudRate() 596 baudDiff = tempDiff; in LPUART_SetBaudRate()
|