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
OneWireSlave Class Reference
Base class for all 1-Wire Slaves. More...
#include <OneWireSlave.h>
Inherited by DS18B20, DS1920, DS2413, DS2431, DS28E15_22_25, and DS28E17.
Public Member Functions | |
RomId | romId () const |
Protected Member Functions | |
OneWireSlave (RandomAccessRomIterator &selector) | |
OneWireMaster::CmdResult | selectDevice () const |
Select this slave device by ROM ID. | |
OneWireMaster & | master () const |
The 1-Wire master for this slave device. |
Detailed Description
Base class for all 1-Wire Slaves.
Definition at line 45 of file OneWireSlave.h.
Constructor & Destructor Documentation
OneWireSlave | ( | RandomAccessRomIterator & | selector ) | [protected] |
- Parameters:
-
selector Provides 1-Wire ROM selection and bus access.
Definition at line 69 of file OneWireSlave.h.
Member Function Documentation
OneWireMaster& master | ( | ) | const [protected] |
The 1-Wire master for this slave device.
Definition at line 77 of file OneWireSlave.h.
RomId romId | ( | ) | const |
1-Wire ROM ID for this slave device.
Definition at line 59 of file OneWireSlave.h.
OneWireMaster::CmdResult selectDevice | ( | ) | const [protected] |
Select this slave device by ROM ID.
Definition at line 74 of file OneWireSlave.h.
Generated on Tue Jul 12 2022 15:46:21 by
