OneWire Library for Arduino  version: 0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
OneWire::OneWireMaster::SearchState Struct Reference

State used by all ROM ID search functions. More...

#include <OneWireMaster.h>

Public Member Functions

void reset ()
 Reset to the search state to start at the beginning. More...
 
void findFamily (uint8_t familyCode)
 
void skipCurrentFamily ()
 
 SearchState ()
 

Public Attributes

RomId romId
 
uint8_t last_discrepancy
 
uint8_t last_family_discrepancy
 
bool last_device_flag
 

Detailed Description

State used by all ROM ID search functions.

Constructor & Destructor Documentation

OneWire::OneWireMaster::SearchState::SearchState ( )
inline

Member Function Documentation

void OneWireMaster::SearchState::findFamily ( uint8_t  familyCode)

Setup the search to find the device type 'family_code' on the next call to OWNext() if it is present.

void OneWireMaster::SearchState::reset ( void  )

Reset to the search state to start at the beginning.

void OneWireMaster::SearchState::skipCurrentFamily ( )

Setup the search to skip the current device type on the next call to OWNext().

Member Data Documentation

bool OneWire::OneWireMaster::SearchState::last_device_flag
uint8_t OneWire::OneWireMaster::SearchState::last_discrepancy
uint8_t OneWire::OneWireMaster::SearchState::last_family_discrepancy
RomId OneWire::OneWireMaster::SearchState::romId

The documentation for this struct was generated from the following files: