Table of Contents

Struct PamojaTmp117Config

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

A TMP117 configuration register, field by field. Mirrors <c>PamojaTmp117Config</c> in <c>pamoja.h</c>.

public struct PamojaTmp117Config
Inherited Members

Fields

AlertActiveHigh

1 makes the ALERT pin active high.

public byte AlertActiveHigh

Field Value

byte

AlertPinDataReady

1 makes the ALERT pin reflect data ready rather than the alert flags.

public byte AlertPinDataReady

Field Value

byte

Averaging

The averaging code, 0..=3.

public byte Averaging

Field Value

byte

Cycle

The conversion-cycle code, 0..=7.

public byte Cycle

Field Value

byte

DataReady

1 when a conversion has completed since the register was last read.

public byte DataReady

Field Value

byte

EepromBusy

1 while an EEPROM write is still in progress.

public byte EepromBusy

Field Value

byte

HighAlert

1 when a result went above the high limit.

public byte HighAlert

Field Value

byte

LowAlert

1 when a result went below the low limit.

public byte LowAlert

Field Value

byte

Mode

The conversion-mode code: 0 continuous, 1 shutdown, 3 one-shot.

public byte Mode

Field Value

byte

SoftReset

1 triggers a software reset when this register is written.

public byte SoftReset

Field Value

byte

ThermMode

1 makes the limits a therm hysteresis band rather than alerts.

public byte ThermMode

Field Value

byte