ISpiDeviceProvider 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SPI 버스를 통해 연결된 디바이스에 공통적인 작업을 나타냅니다.
public interface class ISpiDeviceProvider : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(219952195, 12363, 16476, 180, 247, 245, 171, 16, 116, 70, 30)]
struct ISpiDeviceProvider : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.Guid(219952195, 12363, 16476, 180, 247, 245, 171, 16, 116, 70, 30)]
public interface ISpiDeviceProvider : System.IDisposable
Public Interface ISpiDeviceProvider
Implements IDisposable
- 특성
- 구현
Windows 요구 사항
디바이스 패밀리 |
Windows IoT Extension SDK (10.0.10586.0에서 도입되었습니다.)
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.) |
API contract |
Windows.Devices.DevicesLowLevelContract (v2.0에서 도입되었습니다.)
|
속성
ConnectionSettings |
디바이스에 대한 연결 설정을 가져옵니다. |
DeviceId |
디바이스와 연결된 고유 ID를 가져옵니다. |
메서드
Dispose() |
관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다. |
Read(Byte[]) |
연결된 디바이스에서 읽습니다. |
TransferFullDuplex(Byte[], Byte[]) |
전체 이중 통신 시스템을 사용하여 데이터를 전송합니다. 전체 이중을 사용하면 호스트와 주변 장치가 동시에 통신할 수 있습니다. 호스트 및 주변 장치에 대한 정의는 Windows.Devices.Spi 네임스페이스를 참조하세요. |
TransferSequential(Byte[], Byte[]) |
디바이스에 순차적으로 데이터를 전송합니다. |
Write(Byte[]) |
연결된 디바이스에 씁니다. |