Table of Contents

Struct PamojaIna219Reading

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

One INA219 conversion. Mirrors PamojaIna219Reading in pamoja.h.

public struct PamojaIna219Reading
Inherited Members

Fields

Bus

The bus-voltage register, flags included.

public ushort Bus

Field Value

ushort

BusMillivolts

The bus voltage in millivolts.

public uint BusMillivolts

Field Value

uint

Current

The current register.

public short Current

Field Value

short

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

Shunt

The shunt-voltage register.

public short Shunt

Field Value

short

ShuntMicrovolts

The shunt voltage in microvolts.

public int ShuntMicrovolts

Field Value

int