Searched refs:UartPort (Results 1 – 1 of 1) sorted by relevance
12 pub enum UartPort { enum23 impl UartPort { impl76 port: UartPort,82 Self {port: UartPort::COM1, baud_rate: 115200} in default()92 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init() argument156 fn uart_send(uart_port: &UartPort, str: &str) { in uart_send() argument169 fn uart_read_byte(uart_port: &UartPort) -> char { in uart_read_byte()