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
RandomAccessRomIterator Class Reference
Iterates though 1-Wire devices on the bus using random selection by ROM ID. More...
#include <RomIterator.h>
Inherits OneWire::RomIterator.
Inherited by MultidropRomIterator, MultidropRomIteratorWithResume, and SingledropRomIterator.
Public Member Functions | |
RandomAccessRomIterator (OneWireMaster &master) | |
virtual OneWireMaster::CmdResult | selectDevice (const RomId &romId)=0 |
Select the device with the given ROM ID. | |
OneWireMaster & | master () const |
The 1-Wire master used to issue ROM commands. |
Detailed Description
Iterates though 1-Wire devices on the bus using random selection by ROM ID.
Definition at line 108 of file RomIterator.h.
Constructor & Destructor Documentation
RandomAccessRomIterator | ( | OneWireMaster & | master ) |
- Parameters:
-
master 1-Wire master to use to issue ROM commands.
Definition at line 112 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.
virtual OneWireMaster::CmdResult selectDevice | ( | const RomId & | romId ) | [pure virtual] |
Select the device with the given ROM ID.
Implemented in SingledropRomIterator, MultidropRomIterator, and MultidropRomIteratorWithResume.
Generated on Tue Jul 12 2022 15:46:21 by 1.7.2