Searched refs:tempDiff (Results 1 – 2 of 2) sorted by relevance
223 uint32_t tempDiff, calculatedBaud, baudDiff; in LPSCI_Init() local244 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() local377 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 …]
313 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local343 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init()346 if (tempDiff <= baudDiff) in LPUART_Init()348 baudDiff = tempDiff; in LPUART_Init()641 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local672 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate()674 if (tempDiff <= baudDiff) in LPUART_SetBaudRate()676 baudDiff = tempDiff; in LPUART_SetBaudRate()