Show / Hide Table of Contents

Class Module

Provides functionality for FCT modules

Inheritance
System.Object
Module
InterfaceDUT
Mainboard
Measurement
Power
Programmer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Elatec.FCT.Client.Hardware.Module
Assembly: ElatecFCT.dll
Syntax
public abstract class Module

Constructors

View Source

Module(II2c)

Initializes a new instance of the Elatec.FCT.Client.Hardware.Module.Module using an i2c interface

Declaration
public Module(II2c interfaceI2C)
Parameters
Type Name Description
II2c interfaceI2C

Fields

View Source

interfaceI2C

Declaration
protected readonly II2c interfaceI2C
Field Value
Type Description
II2c

Properties

View Source

I2CAddress

The i2c adress of each module

Declaration
protected abstract byte I2CAddress { get; }
Property Value
Type Description
System.Byte

Methods

View Source

GetDate(Byte, Byte)

Get the setup date by using the year and month adress of the eeprom. It is assumed base year is allways 2000

Declaration
protected DateTime GetDate(byte addressYear, byte addressMonth)
Parameters
Type Name Description
System.Byte addressYear
System.Byte addressMonth
Returns
Type Description
System.DateTime
View Source

Init()

Init a module

Declaration
public abstract void Init()
View Source

ReadMemory(Byte)

Read data from module eeprom

Declaration
public byte ReadMemory(byte address)
Parameters
Type Name Description
System.Byte address
Returns
Type Description
System.Byte
View Source

WriteDate(Byte, Byte, DateTime)

Get the setup date by using the year and month adress of the eeprom

Declaration
protected void WriteDate(byte addressYear, byte addressMonth, DateTime date)
Parameters
Type Name Description
System.Byte addressYear
System.Byte addressMonth
System.DateTime date
View Source

WriteMemory(Byte, Byte)

Write data to module eeprom

Declaration
public void WriteMemory(byte address, byte data)
Parameters
Type Name Description
System.Byte address
System.Byte data
  • View Source
In This Article
Back to top Generated by DocFX