pub fn setControl(self: *SerialIo, control: u32) SetControlError!void self: *SerialIocontrol: u3273
74
75
76
77
78
79
80 pub fn setControl(self: *SerialIo, control: u32) SetControlError!void {
switch (self._set_control(self, control)) {
.success => {},
.unsupported => return error.Unsupported,
.device_error => return error.DeviceError,
else => |status| return uefi.unexpectedStatus(status),
}
}
Sets the control bits on a serial device.