Show / Hide Table of Contents

Class I2C

Inheritance
Object
I2C
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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
Type Name Description
I2CPort port
| Improve this Doc View Source

Initialize(I2CPort)

Declaration
public static void Initialize(I2CPort port)
Parameters
Type Name Description
I2CPort port
| Improve this Doc View Source

Read(I2CPort, Int32, Byte*, Int32)

Declaration
public static int Read(I2CPort port, int deviceAddress, byte *buffer, int count)
Parameters
Type Name Description
I2CPort port
Int32 deviceAddress
Byte* buffer
Int32 count
Returns
Type Description
Int32
| 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
Type Name Description
I2CPort port
Int32 deviceAddress
Byte* dataToSend
Int32 sendSize
Byte* dataReceived
Int32 receiveSize
Returns
Type Description
Int32
| Improve this Doc View Source

Write(I2CPort, Int32, Byte*, Int32)

Declaration
public static int Write(I2CPort port, int deviceAddress, byte *dataToSend, int sendSize)
Parameters
Type Name Description
I2CPort port
Int32 deviceAddress
Byte* dataToSend
Int32 sendSize
Returns
Type Description
Int32
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet