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