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

MultidropRomIterator Class Reference

MultidropRomIterator Class Reference

Iterator for a multidrop 1-Wire bus. More...

#include <RomIterator.h>

Inherits OneWire::RandomAccessRomIterator.

Public Member Functions

 MultidropRomIterator (OneWireMaster &master)
virtual OneWireMaster::CmdResult selectDevice (const RomId &romId)
 Select the device with the given ROM ID.
OneWireMastermaster () const
 The 1-Wire master used to issue ROM commands.

Detailed Description

Iterator for a multidrop 1-Wire bus.

Definition at line 131 of file RomIterator.h.


Constructor & Destructor Documentation

Parameters:
master1-Wire master to use to issue ROM commands.

Definition at line 135 of file RomIterator.h.


Member Function Documentation

OneWireMaster& master (  ) const [inherited]

The 1-Wire master used to issue ROM commands.

Definition at line 57 of file RomIterator.h.

OneWireMaster::CmdResult selectDevice ( const RomId romId ) [virtual]

Select the device with the given ROM ID.

Implements RandomAccessRomIterator.

Definition at line 76 of file RomIterator.cpp.