Table of Contents

Struct PamojaIna219Config

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

An INA219 configuration register, field by field. Mirrors PamojaIna219Config in pamoja.h.

public struct PamojaIna219Config
Inherited Members

Fields

BusAdc

The bus ADC code, 0 to 15.

public byte BusAdc

Field Value

byte

BusRange

The bus-voltage range code: 0 for 16 V, 1 for 32 V.

public byte BusRange

Field Value

byte

Gain

The shunt gain code, 0 to 3.

public byte Gain

Field Value

byte

Mode

The operating-mode code, 0 to 7.

public byte Mode

Field Value

byte

Reset

1 resets the part when the register is written.

public byte Reset

Field Value

byte

ShuntAdc

The shunt ADC code, 0 to 15.

public byte ShuntAdc

Field Value

byte