Méthode | Description | |
---|---|---|
Connect ( int deviceAddress ) : Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection |
Connects the specified device address.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
I2cDriver ( ProcessorPin sdaPin, ProcessorPin sclPin ) : System |
Initializes a new instance of the I2cDriver class.
|
Méthode | Description | |
---|---|---|
EnsureDeviceAddress ( int deviceAddress ) : void | ||
Execute ( int deviceAddress, Raspberry.IO.InterIntegratedCircuit.I2cTransaction transaction ) : void |
Executes the specified transaction.
|
|
GetBscBase ( ProcessorPin sdaPin, ProcessorPin sclPin ) : uint | ||
GetProcessorBscAddress ( Processor processor ) : uint | ||
GetProcessorGpioAddress ( Processor processor ) : uint | ||
GetWaitInterval ( ushort actualDivider ) : int | ||
Read ( int deviceAddress, byte buffer ) : void | ||
ReadUInt32 ( |
||
SafeReadUInt32 ( |
||
SafeWriteUInt32 ( |
||
SetPinMode ( uint pin, uint mode ) : bool |
|
|
Wait ( uint remaining ) : void | ||
Write ( int deviceAddress, byte buffer ) : void | ||
WriteUInt32 ( |
||
WriteUInt32Mask ( |
public Connect ( int deviceAddress ) : Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection | ||
deviceAddress | int | The device address. |
Résultat | Raspberry.IO.InterIntegratedCircuit.I2cDeviceConnection |
public I2cDriver ( ProcessorPin sdaPin, ProcessorPin sclPin ) : System | ||
sdaPin | ProcessorPin | The SDA pin. |
sclPin | ProcessorPin | The SCL pin. |
Résultat | System |