Home
last modified time | relevance | path

Searched refs:D_dec (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_b91.c148 uint8_t D_dec[13]; in uart_b91_cal_div_and_bwpc() local
164 D_dec[i - 3] = D_intdec[i - 3] - 10 * (D_intdec[i - 3] / 10); in uart_b91_cal_div_and_bwpc()
173 if ((D_dec[j] <= min) && (D_int[j] != 0x01)) { in uart_b91_cal_div_and_bwpc()
174 min = D_dec[j]; in uart_b91_cal_div_and_bwpc()
177 if (D_dec[j] >= max) { in uart_b91_cal_div_and_bwpc()
178 max = D_dec[j]; in uart_b91_cal_div_and_bwpc()
183 if ((D_dec[position_min] < 5) && (D_dec[position_max] >= 5)) { in uart_b91_cal_div_and_bwpc()
184 if (D_dec[position_min] < (10 - D_dec[position_max])) { in uart_b91_cal_div_and_bwpc()
191 } else if ((D_dec[position_min] < 5) && (D_dec[position_max] < 5)) { in uart_b91_cal_div_and_bwpc()