OneWireState Class Reference

List of all members.


Detailed Description

1-Wire Network State contains the current 1-Wire Network state information

Version:
0.00
Author:
DS, SH

Public Member Functions

 OneWireState ()
 Construct the initial state of the 1-Wire Network.

Public Attributes

OWSpeed oneWireSpeed
 This is the current logical speed that the 1-Wire Network is operating at.
OWLevel oneWireLevel
 This is the current logical 1-Wire Network pullup level.
bool canProgram
 True if programming voltage is available.
bool levelChangeOnNextBit
 True if a level change is primed to occur on the next bit of communication.
bool levelChangeOnNextByte
 True if a level change is primed to occur on the next byte of communication.
OWLevel primedLevelValue
 The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte.
OWPowerTime levelTimeFactor
 The amount of time that the 'level' value will be on for.
int searchLastDiscrepancy
 Value of the last discrepancy during the last search for an iButton.
int searchFamilyLastDiscrepancy
 Value of the last discrepancy in the family code during the last search for an iButton.
bool searchLastDevice
 Flag to indicate that the last device found is the last device in a search sequence on the 1-Wire Network.
byte[] ID
 ID number of the current iButton found.
byte[] searchIncludeFamilies
 Array of iButton families to include in any search.
byte[] searchExcludeFamilies
 Array of iButton families to exclude in any search.
bool searchOnlyAlarmingButtons
 Flag to indicate the conditional search is to be performed so that only iButtons in an alarm state will be found.
bool skipResetOnSearch
 Flag to indicate next search will not be preceeded by a 1-Wire reset.

Constructor & Destructor Documentation

OneWireState (  ) 

Construct the initial state of the 1-Wire Network.


Member Data Documentation

OWSpeed oneWireSpeed

This is the current logical speed that the 1-Wire Network is operating at.

OWLevel oneWireLevel

This is the current logical 1-Wire Network pullup level.

bool canProgram

True if programming voltage is available.

The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte.

OWPowerTime levelTimeFactor

The amount of time that the 'level' value will be on for.

Value of the last discrepancy during the last search for an iButton.

byte [] ID

ID number of the current iButton found.

Array of iButton families to include in any search.

Array of iButton families to exclude in any search.

Flag to indicate next search will not be preceeded by a 1-Wire reset.


The documentation for this class was generated from the following file:

Generated on Thu Aug 28 15:41:57 2008 for 1-Wire API for Compact.NET by  doxygen 1.5.6