Searched refs:sbrTemp (Results 1 – 1 of 1) sorted by relevance
221 uint16_t sbr, sbrTemp; in LPUART_Init() local236 sbrTemp = (srcClock_Hz / (config->baudRate_Bps * osrTemp)); in LPUART_Init()238 if (sbrTemp == 0) in LPUART_Init()240 sbrTemp = 1; in LPUART_Init()243 calculatedBaud = (srcClock_Hz / (osrTemp * sbrTemp)); in LPUART_Init()248 if (tempDiff > (config->baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))))) in LPUART_Init()250 tempDiff = config->baudRate_Bps - (srcClock_Hz / (osrTemp * (sbrTemp + 1))); in LPUART_Init()251 sbrTemp++; in LPUART_Init()258 sbr = sbrTemp; /* update store the best SBR value calculated */ in LPUART_Init()497 uint16_t sbr, sbrTemp; in LPUART_SetBaudRate() local[all …]