![]() |
OneWire Library for Arduino
version: 1.0.0
|
State used by all ROM ID search functions. More...
#include <RomCommands.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 |
State used by all ROM ID search functions.
|
inline |
void OneWire::RomCommands::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 OneWire::RomCommands::SearchState::reset | ( | void | ) |
Reset to the search state to start at the beginning.
void OneWire::RomCommands::SearchState::skipCurrentFamily | ( | ) |
Setup the search to skip the current device type on the next call to OWNext().
bool OneWire::RomCommands::SearchState::last_device_flag |
uint8_t OneWire::RomCommands::SearchState::last_discrepancy |
uint8_t OneWire::RomCommands::SearchState::last_family_discrepancy |
RomId OneWire::RomCommands::SearchState::romId |