Property | Type | Description | |
---|---|---|---|
GetDeviceForAddress | Windows.Devices.I2c.I2cDevice | ||
Mb85rcvDevice | System |
Method | Description | |
---|---|---|
GetMemoryAddressBytes ( int address ) : byte[] |
Gets the I2C command memory address bytes for the specified logical address. Besides being split into bytes, some older/smaller chips separate the MSB into the I2C device address. |
|
ReadByte ( ) : byte |
Reads a single byte at the "current address" (next byte after the last operation).
|
|
ReadByte ( int address ) : byte |
Reads a single byte "randomly" at the specified address.
|
|
ReadPage ( int length ) : byte[] |
Reads a single byte at the "current address" (next byte after the last operation).
|
|
ReadPage ( int address, int length ) : byte[] |
Reads a "page" of bytes "sequentially" starting at the specified address.
|
|
WriteByte ( int address, byte data ) : void |
Writes a single byte at the specified address.
|
|
WritePage ( int address, byte data ) : void |
Writes a "page" of multiple bytes starting at the specified address.
|
|
WritePage ( int address, byte data, int offset, int length ) : void |
Writes a "page" of multiple bytes starting at the specified address.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
DisposableObject.Dispose(bool).
|
Method | Description | |
---|---|---|
GetDeviceForAddress ( int address ) : Windows.Devices.I2c.I2cDevice | ||
Mb85rcvDevice ( Windows.Devices.I2c.I2cDevice device, int size ) : System |
public abstract GetMemoryAddressBytes ( int address ) : byte[] | ||
address | int | |
return | byte[] |
public ReadPage ( int address, int length ) : byte[] | ||
address | int | |
length | int | |
return | byte[] |
public WriteByte ( int address, byte data ) : void | ||
address | int | |
data | byte | |
return | void |
public WritePage ( int address, byte data ) : void | ||
address | int | |
data | byte | |
return | void |
public WritePage ( int address, byte data, int offset, int length ) : void | ||
address | int | |
data | byte | |
offset | int | |
length | int | |
return | void |