Class Mcp79401.Eeprom
Provides access to the protected EEPROM and pre-programmed EUI-48 MAC ID of the Mcp79401.
public class Mcp79401.Eeprom : Mcp79400.Eeprom
- Inheritance
-
Mcp79401.Eeprom
- Derived
- Inherited Members
Constructors
Eeprom(I2cDevice)
Initializes a new instance of the Mcp79401.Eeprom class.
public Eeprom(I2cDevice i2cDevice)
Parameters
i2cDevice
I2cDeviceThe I2C device to use for communication.
Exceptions
- ArgumentNullException
Thrown when
i2cDevice
isnull
.
Fields
EuiAddress
EEPROM Address of the EUI Node Address.
protected const byte EuiAddress = 240
Field Value
Methods
ReadEui()
Reads the EUI-48 MAC address.
public virtual byte[] ReadEui()
Returns
- byte[]
Returns the EUI-48 MAC address.