Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/uart/
Duart.rs75 pub struct UartDriver { struct
80 impl Default for UartDriver { argument
86 impl UartDriver { implementation
123 UartDriver::uart_send(uart_port, message); in uart_init()
158 while UartDriver::is_transmit_empty(port) == false { in uart_send()
171 while UartDriver::serial_received(port) == false {} //TODO:pause in uart_read_byte()
182 while UartDriver::is_transmit_empty(port) == false {} //TODO:pause in c_uart_send()
191 while UartDriver::serial_received(port) == false {} //TODO:pause in c_uart_read()