/// <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)));
}