Show / Hide Table of Contents

Interface II2C

Namespace: Hal.Natives
Assembly: FRC.Hal.dll
Syntax
[StatusCheckedBy(typeof(StatusHandling), null)]
public interface II2C

Methods

| Improve this Doc View Source

HAL_CloseI2C(I2CPort)

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

HAL_InitializeI2C(I2CPort)

Declaration
[StatusCheckRange(0, typeof(StatusHandling), "I2CStatusCheck")]
void HAL_InitializeI2C(I2CPort port)
Parameters
Type Name Description
I2CPort port
| Improve this Doc View Source

HAL_ReadI2C(I2CPort, Int32, Byte*, Int32)

Declaration
int HAL_ReadI2C(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

HAL_TransactionI2C(I2CPort, Int32, Byte*, Int32, Byte*, Int32)

Declaration
int HAL_TransactionI2C(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

HAL_WriteI2C(I2CPort, Int32, Byte*, Int32)

Declaration
int HAL_WriteI2C(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