Searched refs:best_diff (Results 1 – 1 of 1) sorted by relevance
427 uint32_t best_diff = (uint32_t)-1, best_osrval = 0xf, best_brgval = (uint32_t)-1; in USART_SetBaudRate() local458 if ((osrval <= 8U) && (best_diff <= allowed_error)) in USART_SetBaudRate()470 if (diff < best_diff) in USART_SetBaudRate()472 best_diff = diff; in USART_SetBaudRate()