Class I2C
Namespace: Hal
Assembly: FRC.Hal.dll
Syntax
[NativeInterface(typeof(II2C))]
public static class I2C
Methods
|
Improve this Doc
View Source
Close(I2CPort)
Declaration
public static void Close(I2CPort port)
Parameters
|
Improve this Doc
View Source
Initialize(I2CPort)
Declaration
public static void Initialize(I2CPort port)
Parameters
|
Improve this Doc
View Source
Read(I2CPort, Int32, Byte*, Int32)
Declaration
public static int Read(I2CPort port, int deviceAddress, byte *buffer, int count)
Parameters
Returns
|
Improve this Doc
View Source
Transaction(I2CPort, Int32, Byte*, Int32, Byte*, Int32)
Declaration
public static int Transaction(I2CPort port, int deviceAddress, byte *dataToSend, int sendSize, byte *dataReceived, int receiveSize)
Parameters
Returns
|
Improve this Doc
View Source
Write(I2CPort, Int32, Byte*, Int32)
Declaration
public static int Write(I2CPort port, int deviceAddress, byte *dataToSend, int sendSize)
Parameters
Returns