Searched refs:UartPort (Results 1 – 1 of 1) sorted by relevance
12 pub enum UartPort { enum23 impl UartPort { impl76 port: UartPort,83 port: UartPort::COM1, in default()95 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init() argument159 fn uart_send(uart_port: &UartPort, str: &str) { in uart_send() argument174 fn uart_read_byte(uart_port: &UartPort) -> char { in uart_read_byte()