[Overview][Resource strings][Types][Classes][Index] Reference for unit 'fpi2c' (#pascalio)

TI2CQueueObject

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Description of a queued action on a I2C bus

Declaration

Source position: fpi2c.pas line 57

type TI2CQueueObject = class(TObject)

public

Type

  TBufferLength = 0..31;

  

  constructor Create;

  

  destructor Destroy; override;

  

  procedure CheckConsistency;

  

  procedure WaitForWrite;

  

  procedure SetDataWritten;

  

  procedure SetReadBufferLength();

  

  procedure SetWriteBuffer();

  

  procedure SetResultBuffer();

  

  function GetResultBuffer();

  

  procedure GetWriteBuffer();

  

  property BufferLength: Byte; [r]

  

  property Address: TI2CAddress; [rw]

  

  property Read: Boolean; [r]

  

  property Command: Byte; [rw]

  

  property UseCommand: Boolean; [rw]

  

  property FatalException: TObject; [rw]

  

end;

Inheritance

TI2CQueueObject

  

Description of a queued action on a I2C bus

|

TObject

Description

This object describes a read or write request on an I2C bus. The TI2CThreadSaveDevice queues all it's actions on a bus; use this class as an example usage.

See also

TI2CBus

  

Threadsafe I2C Bus

TI2CBus.QueueObject

  

TI2CThreadSaveDevice

  

Thread safe I2C Device


Documentation generated on: 2020-05-22