Share via


I2cConnectionSettings 클래스

정의

통합 회로(I2 C) 디바이스에 사용할 연결 설정을 나타냅니다.

public ref class I2cConnectionSettings sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.I2c.II2cConnectionSettingsFactory, 65536, Windows.Devices.DevicesLowLevelContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class I2cConnectionSettings final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.I2c.II2cConnectionSettingsFactory, 65536, "Windows.Devices.DevicesLowLevelContract")]
class I2cConnectionSettings final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.I2c.II2cConnectionSettingsFactory), 65536, typeof(Windows.Devices.DevicesLowLevelContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class I2cConnectionSettings
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.I2c.II2cConnectionSettingsFactory), 65536, "Windows.Devices.DevicesLowLevelContract")]
public sealed class I2cConnectionSettings
function I2cConnectionSettings(slaveAddress)
Public NotInheritable Class I2cConnectionSettings
상속
Object Platform::Object IInspectable I2cConnectionSettings
특성

Windows 요구 사항

디바이스 패밀리
Windows IoT Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Devices.DevicesLowLevelContract (v1.0에서 도입되었습니다.)

생성자

I2cConnectionSettings(Int32)

버스 속도 및 배타적 공유 모드에 대한 표준 모드의 기본 설정을 사용하여 지정된 버스 주소를 사용하는 I2cConnectionSettings 클래스의 instance 새 I2cConnectionSettings 클래스를 만들고 초기화합니다.

속성

BusSpeed

통합 회로(I2C ) 디바이스에 연결하는 데 사용할 버스 속도를 가져오거나 설정합니다. 버스 속도는 디바이스에 액세스할 때 I2 C 버스를 클록하는 빈도입니다.

SharingMode

통합 회로(I2C ) 버스 주소에 연결하는 데 사용할 공유 모드를 가져오거나 설정합니다. 이 모드는 I2 C 버스 주소에 연결하는 동안 I2 C 버스 주소에 대한 다른 연결을 열 수 있는지 여부를 결정합니다.

SlaveAddress

통합 회로(I2 C) 디바이스의 버스 주소를 가져오거나 설정합니다.

적용 대상

추가 정보