/// <summary> /// Writes the specified data. /// </summary> /// <param name="data">The data.</param> public void Write16(ushort data) { IOPortDispatch.Write16(port, data); }
/// <summary> /// Writes the specified data. /// </summary> /// <param name="data">The data.</param> public void Write32(uint data) { IOPortDispatch.Write32(port, data); }
/// <summary> /// Writes the specified data. /// </summary> /// <param name="data">The data.</param> public void Write8(byte data) { IOPortDispatch.Write8(port, data); }
/// <summary> /// Reads this instance. /// </summary> /// <returns></returns> public uint Read32() { return(IOPortDispatch.Read32(port)); }
/// <summary> /// Reads this instance. /// </summary> /// <returns></returns> public ushort Read16() { return(IOPortDispatch.Read16(port)); }
/// <summary> /// Reads this instance. /// </summary> /// <returns></returns> public byte Read8() { return(IOPortDispatch.Read8(port)); }
/// <summary> /// Requests an IO read/write port interface from the kernel /// </summary> /// <param name="port">The port number.</param> /// <returns></returns> public IReadWriteIOPort RequestIOPort(ushort port) { return(IOPortDispatch.RegisterIOPort(port)); }