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

TI2CBus

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

Threadsafe I2C Bus

Declaration

Source position: fpi2c.pas line 121

type TI2CBus = class(TThread)

protected

  fQueue: tFLQueue;

  

  fThreadWakeup: PRTLEvent;

  

  procedure Execute; override;

  

  procedure ProcessObject(); virtual; abstract;

  

  property Queue: tFLQueue; [r]

  

public

  constructor Create(); virtual;

  

  destructor Destroy; override;

  

  procedure QueueObject();

  

  function ReadByte();

  

  procedure WriteByte();

  

  function ReadRegByte();

  

  function ReadRegWord();

  

  procedure WriteRegByte();

  

  procedure WriteRegWord();

  

  function ReadBlockData();

  

  procedure WriteBlockData();

  

  property Bus: LongWord; [r]

  

end;

Inheritance

TI2CBus

  

Threadsafe I2C Bus

|

TThread

?

TObject

Description

One I2C bus is connected to several devices. This object is threadsafe.


Documentation generated on: 2020-05-22