pub fn remaining_write_capacity(port: uart_port_t) -> Result<usize, EspError>