Searched refs:baud_value (Results 1 – 1 of 1) sorted by relevance
350 uint16_t baud_value = (cfg->sys_clk_freq / (cfg->baud_rate * 16U)) - 1; in uart_miv_init() local353 uart->ctrlreg1 = (uint8_t)(baud_value & BAUDVALUE_LSB); in uart_miv_init()355 (uint8_t)((baud_value & BAUDVALUE_MSB) >> BAUDVALUE_SHIFT); in uart_miv_init()