
# IGPIOChannel interface

*No description yet.*

```csharp
public interface IGPIOChannel : IDeviceChannel
```

**Namespace:** SCH · **Assembly:** Altium.SDK.Interfaces

**Inherits:** [IDeviceChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IDeviceChannel.md)

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [GPIO_GetValue](#gpio_getvalue) | `byte` |  |
| [GPIO_SetPinsDir](#gpio_setpinsdir) | `void` |  |
| [GPIO_SetValue](#gpio_setvalue) | `void` |  |

### GPIO_GetValue

*No description yet.*

```csharp
byte GPIO_GetValue(int argPort);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPort` | `int` | value |

**Returns:** `byte`

### GPIO_SetPinsDir

*No description yet.*

```csharp
void GPIO_SetPinsDir(int argPort, byte argPinsDir);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPort` | `int` | value |
| `argPinsDir` | `byte` | value |

**Returns:** nothing (`void`)

### GPIO_SetValue

*No description yet.*

```csharp
void GPIO_SetValue(byte argPort, byte argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPort` | `byte` | value |
| `argValue` | `byte` | value |

**Returns:** nothing (`void`)

## Inherited members

- From [IDeviceChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IDeviceChannel.md): [CloseChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IDeviceChannel.md#closechannel), [OpenChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IDeviceChannel.md#openchannel)

## Returned by

[IJtagPort.GetGPIOChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IJtagPort.md#getgpiochannel)
