Searched refs:intdiv (Results 1 – 1 of 1) sorted by relevance
261 uint32_t intdiv = 0; in uart_init_port() local274 intdiv = ((25 * apbclk) / (2 * (baud))); in uart_init_port()276 intdiv = ((25 * apbclk) / (4 * (baud))); in uart_init_port()278 treg = (intdiv / 100) << 4; in uart_init_port()280 fracdiv = intdiv - (100 * (treg >> 4)); in uart_init_port()
Completed in 3 milliseconds