
# ISPIChannel interface

*No description yet.*

```csharp
public interface ISPIChannel : IDeviceChannel
```

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

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [SPI_BitDelay](#spi_bitdelay) | `void` |  |
| [SPI_GetDataPin](#spi_getdatapin) | `byte` |  |
| [SPI_SelectDevice](#spi_selectdevice) | `bool` |  |
| [SPI_SendAddress24](#spi_sendaddress24) | `void` |  |
| [SPI_SendAddress32](#spi_sendaddress32) | `void` |  |
| [SPI_SendByte](#spi_sendbyte) | `void` |  |
| [SPI_SendReceiveByte](#spi_sendreceivebyte) | `byte` |  |
| [SPI_SetClockPin](#spi_setclockpin) | `void` |  |
| [SPI_SetDataPin](#spi_setdatapin) | `void` |  |
| [SPI_SetSelectPin](#spi_setselectpin) | `void` |  |

### SPI_BitDelay

*No description yet.*

```csharp
void SPI_BitDelay();
```

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

### SPI_GetDataPin

*No description yet.*

```csharp
byte SPI_GetDataPin();
```

**Returns:** `byte`

### SPI_SelectDevice

*No description yet.*

```csharp
bool SPI_SelectDevice(byte argBoardAddress, byte argDeviceAddress);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argBoardAddress` | `byte` | value |
| `argDeviceAddress` | `byte` | value |

**Returns:** `bool`

### SPI_SendAddress24

*No description yet.*

```csharp
void SPI_SendAddress24(int argAddress);
```

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

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

### SPI_SendAddress32

*No description yet.*

```csharp
void SPI_SendAddress32(int argAddress);
```

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

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

### SPI_SendByte

*No description yet.*

```csharp
void SPI_SendByte(byte argDataByte);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDataByte` | `byte` | value |

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

### SPI_SendReceiveByte

*No description yet.*

```csharp
byte SPI_SendReceiveByte(byte argDataByte);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argDataByte` | `byte` | value |

**Returns:** `byte`

### SPI_SetClockPin

*No description yet.*

```csharp
void SPI_SetClockPin(byte argN);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argN` | `byte` | value |

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

### SPI_SetDataPin

*No description yet.*

```csharp
void SPI_SetDataPin(byte argN);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argN` | `byte` | value |

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

### SPI_SetSelectPin

*No description yet.*

```csharp
void SPI_SetSelectPin(byte argN);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argN` | `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.GetSPIChannel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IJtagPort.md#getspichannel)
