Lines Matching refs:baudRate_Bps
216 assert(config->baudRate_Bps); in LPSCI_Init()
231 baudDiff = config->baudRate_Bps; in LPSCI_Init()
235 sbrTemp = (srcClock_Hz / (config->baudRate_Bps * osrTemp)); in LPSCI_Init()
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()
263 if (baudDiff > ((config->baudRate_Bps / 100) * 3)) in LPSCI_Init()
343 config->baudRate_Bps = 115200U; in LPSCI_GetDefaultConfig()
350 status_t LPSCI_SetBaudRate(UART0_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz) in LPSCI_SetBaudRate() argument
352 assert(baudRate_Bps); in LPSCI_SetBaudRate()
364 baudDiff = baudRate_Bps; in LPSCI_SetBaudRate()
368 sbrTemp = (srcClock_Hz / (baudRate_Bps * osrTemp)); in LPSCI_SetBaudRate()
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()
396 if (baudDiff < ((baudRate_Bps / 100) * 3)) in LPSCI_SetBaudRate()