Table of Contents

Class Mcp79402.Eeprom

Namespace
Iot.Device.Mcp7940xx
Assembly
Iot.Device.Mcp7940xx.dll

Provides access to the protected EEPROM and pre-programmed EUI-64 MAC ID of the Mcp79402.

public class Mcp79402.Eeprom : Mcp79401.Eeprom
Inheritance
Mcp79402.Eeprom
Inherited Members

Constructors

Eeprom(I2cDevice)

Initializes a new instance of the Mcp79402.Eeprom class.

public Eeprom(I2cDevice i2cDevice)

Parameters

i2cDevice I2cDevice

The I2C device to use for communication.

Exceptions

ArgumentNullException

Thrown when i2cDevice is null.

Methods

ReadEui()

Reads the EUI-64 MAC address.

public override byte[] ReadEui()

Returns

byte[]

Returns the EUI-64 MAC address.