Table of Contents

Struct PamojaIna226Reading

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

One INA226 conversion. Mirrors PamojaIna226Reading in pamoja.h.

public struct PamojaIna226Reading
Inherited Members

Fields

Bus

The bus-voltage register.

public ushort Bus

Field Value

ushort

BusMicrovolts

The bus voltage in microvolts.

public uint BusMicrovolts

Field Value

uint

BusVolts

The bus voltage in volts.

public float BusVolts

Field Value

float

Current

The current register.

public short Current

Field Value

short

CurrentAmps

The current in amps.

public float CurrentAmps

Field Value

float

CurrentLsbMicroamps

The current step the calibration programmed, in microamps per count.

public uint CurrentLsbMicroamps

Field Value

uint

CurrentMicroamps

The current in microamps.

public int CurrentMicroamps

Field Value

int

MathOverflow

1 when the part's arithmetic overflowed.

public byte MathOverflow

Field Value

byte

Power

The power register.

public ushort Power

Field Value

ushort

PowerMicrowatts

The power in microwatts.

public uint PowerMicrowatts

Field Value

uint

PowerWatts

The power in watts.

public float PowerWatts

Field Value

float

Shunt

The shunt-voltage register.

public short Shunt

Field Value

short

ShuntMillivolts

The shunt voltage in millivolts.

public float ShuntMillivolts

Field Value

float

ShuntNanovolts

The shunt voltage in nanovolts.

public int ShuntNanovolts

Field Value

int