Пример #1
0
 /// <summary>
 /// Writes the specified data.
 /// </summary>
 /// <param name="data">The data.</param>
 public void Write16(ushort data)
 {
     IOPortDispatch.Write16(port, data);
 }
Пример #2
0
 /// <summary>
 /// Writes the specified data.
 /// </summary>
 /// <param name="data">The data.</param>
 public void Write32(uint data)
 {
     IOPortDispatch.Write32(port, data);
 }
Пример #3
0
 /// <summary>
 /// Writes the specified data.
 /// </summary>
 /// <param name="data">The data.</param>
 public void Write8(byte data)
 {
     IOPortDispatch.Write8(port, data);
 }
Пример #4
0
 /// <summary>
 /// Reads this instance.
 /// </summary>
 /// <returns></returns>
 public uint Read32()
 {
     return(IOPortDispatch.Read32(port));
 }
Пример #5
0
 /// <summary>
 /// Reads this instance.
 /// </summary>
 /// <returns></returns>
 public ushort Read16()
 {
     return(IOPortDispatch.Read16(port));
 }
Пример #6
0
 /// <summary>
 /// Reads this instance.
 /// </summary>
 /// <returns></returns>
 public byte Read8()
 {
     return(IOPortDispatch.Read8(port));
 }
Пример #7
0
 /// <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));
 }