Function write_reg

Source
fn write_reg(port_addr: UartPort, reg: UartReg, val: u8)