1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.

Dependents:   MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more

Embed: (wiki syntax)

« Back to documentation index

SearchState Struct Reference

SearchState Struct Reference

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.
void 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 skipCurrentFamily ()
 Setup the search to skip the current device type on the next call to OWNext().

Detailed Description

State used by all ROM ID search functions.

Definition at line 47 of file RomCommands.h.


Member Function Documentation

void findFamily ( uint8_t  familyCode )

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

Definition at line 61 of file RomCommands.cpp.

void reset ( void   )

Reset to the search state to start at the beginning.

Definition at line 53 of file RomCommands.cpp.

void skipCurrentFamily (  )

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

Definition at line 68 of file RomCommands.cpp.