Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/uart/
Duart.rs7 const UART_MAX_BITS_RATE: u32 = 115200; constant
96 if baud_rate > UART_MAX_BITS_RATE || UART_MAX_BITS_RATE % baud_rate != 0 { in uart_init()
104 let divisor = UART_MAX_BITS_RATE / baud_rate; in uart_init()
218 if baud_rate > UART_MAX_BITS_RATE || UART_MAX_BITS_RATE % baud_rate != 0 { in c_uart_init()
226 let divisor = UART_MAX_BITS_RATE / baud_rate; in c_uart_init()