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. |
OneWireState | ( | ) |
Construct the initial state of the 1-Wire Network.
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.
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.
Value of the last discrepancy during the last search for an iButton.
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 skipResetOnSearch |
Flag to indicate next search will not be preceeded by a 1-Wire reset.