hal_uart_open implemented