Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/uart/
Duart.rs75 pub struct UartDriver { struct
80 impl Default for UartDriver { implementation
89 impl UartDriver { impl
126 UartDriver::uart_send(uart_port, message); in uart_init()
161 while UartDriver::is_transmit_empty(port) == false { in uart_send()
176 while UartDriver::serial_received(port) == false {} //TODO:pause in uart_read_byte()
186 while UartDriver::is_transmit_empty(port) == false {} //TODO:pause in c_uart_send()
197 while UartDriver::serial_received(port) == false {} //TODO:pause in c_uart_read()