pub fn write(uart: ove_uart_t, data: &[u8], timeout_ms: u32) -> Result<usize>
Write data to the UART. Returns the number of bytes written.