Struct PamojaOpt3001Config
An OPT3001 configuration register, field by field. Mirrors <c>PamojaOpt3001Config</c> in <c>pamoja.h</c>.
public struct PamojaOpt3001Config
- Inherited Members
Fields
ActiveHigh
1 makes the INT pin active high.
public byte ActiveHigh
Field Value
ConversionReady
1 when a conversion has completed since the register was last read.
public byte ConversionReady
Field Value
FaultCount
The fault-count code, 0..=3, for one, two, four, or eight faults.
public byte FaultCount
Field Value
FlagHigh
1 when the result went above the high limit.
public byte FlagHigh
Field Value
FlagLow
1 when the result went below the low limit.
public byte FlagLow
Field Value
LatchedWindow
1 latches the INT pin until the configuration register is read.
public byte LatchedWindow
Field Value
LongConversion
1 makes a conversion take 800 ms rather than 100 ms.
public byte LongConversion
Field Value
MaskExponent
1 makes the limit registers carry a mantissa alone, without an exponent.
public byte MaskExponent
Field Value
Mode
The mode code: 0 shutdown, 1 single shot, 2 continuous.
public byte Mode
Field Value
Overflow
1 when the last result overflowed its range.
public byte Overflow
Field Value
RangeNumber
The full-scale range number, 0..=11, or 12 to set the range automatically.
public byte RangeNumber