.NET I2C Control Class Library
I2CControl Members

Represents a I2C Device resource.

The following tables list the members exposed by the I2CControl type.

  Name Description
Public method  I2CControl Overloaded. Initializes a new instance of the I2CControl class.
Top
  Name Description
Public property  Address Gets the I2C Address of the current I2C message.
Public property  DeviceType Gets the Hardware Device Type.
Public property  DeviceVersion Gets the Hardware Device Firmware Version.
Public property  EndTimeStamp Gets the Time of the End of the current I2C message.
Public property  IsOpen Gets a value indicating the open or closed status of the I2CControl object.
Public property  Len Gets the number of bytes of data in the current I2C message.
Public property  LineStatus Gets the state of the Carrier Detect line for the port.
Public property PortName Gets or sets the port for communications, including but not limited to all available COM ports.
Public property  RepeatedStart Gets the type of StartCondition for the current I2C message..
Public property  StopCondition Gets the type of StopCondition for the current I2C message..
Public property  TimeStamp Gets the Time of the Start of the current I2C message.
Public property  TriggerDirection Gets the Edge Direction of the Trigger Line when the Event is raised.
Public property  TriggerType Gets or sets a value that determines the Trigger Line Functionality
Professional only: (coming soon)
Name Description
Public property  AckDetect Gets or sets the Ack Detection Functionality.
Public property  SlaveAddress Gets  or sets the I2c Slave Address to emulate.
Public property  Transmitted Gets a value indicating whether the current I2C message as Transmit from the Device.
Top
  Name Description
Public method  Close Closes the port connection and sets the IsOpen property to false.
Public method GetPortNames Gets an array of serial port names for the current computer.
Public method  Open Opens a new serial port connection.
Public method  Read Reads a I2C message from the I2CControl input buffer.
Professional only: (coming soon)
  Name Description
Public method  Acks Reads the Acks associated with each I2C message byte from the I2CControl input buffer.
Public method  ReleaseBusHold Releases the Bus held state after a TransmitWithBusHold or RequesetWithBusHold
Public method ResetBus Resets the I²C Device
Public method  Request Requests data from a Slave Device on the I²C Bus
Public method  RequestWithBusHold Requests data from a Slave Device on the I²C Bus leaving the Bus in the Master held state.
Public method  SlaveConfigBuffer Configures the Slave Emulation to use predefined data when data is requested from it.
Public method SlaveConfigEvent Configures the Slave Emulation to give a Slave Event when data is requested from it.
Public method  SlaveData Configures the Slave Emulation to use predefined data when data is requested from it.
Public method  SlaveDisable Disables the slave device.
Public method  Transmit Transmits Data to a slave device on the I²C Bus.
Public method TransmitWithBusHold Transmits Data to a slave device on the I²C Bus, and leave the bus in Master held state (i.e. next start will be a Repeated Start Condition)
Public method  TriggerMatchSequence Configures a sequence of Data that will cause a trigger if the TriggerType is set to TriggerHighOnMatch or TriggerLowOnMatch.
Top
  Name Description
Public event  I2CMessage Represents the method that will handle the I2C message received event of a I2CControl object.
Public event  Status Represents the method that will handle the Connection and Line Status event of a I2CControl object.
Public event  Trigger Represents the method that handles the Trigger Line event of a I2CControl object.
Professional only: (coming soon)
  Name Description
Public event  Slave Represents the method that will handle the Slave Received/Requested/Transmited event of a I2CControl object.
Top

Copyright © 2010 AVIT Research ltd. Last modified: 22/02/10