Home
last modified time | relevance | path

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

/hal_intel-3.7.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c67 #define SEDI_UART_GET_DLL(divisor) ((divisor) & 0xFF) argument
70 #define SEDI_UART_GET_DLH(divisor) (((divisor) & 0xFF00) >> 8) argument
1449 uint32_t divisor = clk_speed_hz / (baud_rate << 4); in sedi_uart_set_baud_rate() local
1464 regs->ier_dlh = SEDI_UART_GET_DLH(divisor); in sedi_uart_set_baud_rate()
1465 regs->rbr_thr_dll = SEDI_UART_GET_DLL(divisor); in sedi_uart_set_baud_rate()