RequestIOPort() static private method

Requests an IO read/write port interface from the kernel
static private RequestIOPort ( ushort port ) : IReadWriteIOPort
port ushort The port number.
return IReadWriteIOPort
コード例 #1
0
 /// <summary>
 /// Gets the IO port.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="index">The index.</param>
 /// <returns></returns>
 public IReadWriteIOPort GetIOPort(byte region, ushort index)
 {
     return(HAL.RequestIOPort((ushort)(ioPortRegions[region].BaseIOPort + index)));
 }