Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more
ForwardRomIterator Class Reference
Iterates through all 1-Wire devices in a sequential first to last order. More...
#include <RomIterator.h>
Inherits OneWire::RomIterator.
Inherited by ForwardSearchRomIterator.
Public Member Functions | |
ForwardRomIterator (OneWireMaster &master) | |
virtual bool | lastDevice () const =0 |
Indicates that current device is the last. | |
virtual OneWireMaster::CmdResult | selectFirstDevice ()=0 |
Select the first device in the sequence. | |
virtual OneWireMaster::CmdResult | selectNextDevice ()=0 |
Select the next device in the sequence. | |
virtual OneWireMaster::CmdResult | reselectCurrentDevice ()=0 |
Reselect the current device for an additional operation. | |
OneWireMaster & | master () const |
The 1-Wire master used to issue ROM commands. |
Detailed Description
Iterates through all 1-Wire devices in a sequential first to last order.
Definition at line 61 of file RomIterator.h.
Constructor & Destructor Documentation
ForwardRomIterator | ( | OneWireMaster & | master ) |
- Parameters:
-
master 1-Wire master to use to issue ROM commands.
Definition at line 65 of file RomIterator.h.
Member Function Documentation
virtual bool lastDevice | ( | ) | const [pure virtual] |
Indicates that current device is the last.
Implemented in ForwardSearchRomIterator.
OneWireMaster& master | ( | ) | const [inherited] |
The 1-Wire master used to issue ROM commands.
Definition at line 57 of file RomIterator.h.
virtual OneWireMaster::CmdResult reselectCurrentDevice | ( | ) | [pure virtual] |
Reselect the current device for an additional operation.
Implemented in ForwardSearchRomIterator.
virtual OneWireMaster::CmdResult selectFirstDevice | ( | ) | [pure virtual] |
Select the first device in the sequence.
Implemented in ForwardSearchRomIterator.
virtual OneWireMaster::CmdResult selectNextDevice | ( | ) | [pure virtual] |
Select the next device in the sequence.
Implemented in ForwardSearchRomIterator.
Generated on Tue Jul 12 2022 15:46:21 by
