Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

RomCommands.hpp File Reference

RomCommands.hpp File Reference

ROM Commands for enumerating and selecting 1-Wire devices. More...

Go to the source code of this file.

Data Structures

struct  SearchRomState
 State used by Search ROM command. More...

Functions

void skipCurrentFamily (SearchRomState &searchState)
 Set the search state to skip the current device family on the next Search ROM command.
Result< void > verifyRom (OneWireMaster &master, RomId::const_span romId)
 Verify that the device with the specified ROM ID is present.
Result< RomId::array > readRom (OneWireMaster &master)
 Use Read ROM command to read ROM ID from device on bus.
Result< void > skipRom (OneWireMaster &master)
 Issue Skip ROM command on bus.
Result< void > matchRom (OneWireMaster &master, RomId::const_span romId)
 Use the Match ROM command to select the device by its known ID.
Result< void > overdriveSkipRom (OneWireMaster &master)
 Issue Overdrive Skip ROM command on bus.
Result< void > overdriveMatchRom (OneWireMaster &master, RomId::const_span romId)
 Use the Overdrive Match ROM command to select the device by its known ID.
Result< void > resumeRom (OneWireMaster &master)
 Perform a Resume ROM command on bus.
Result< void > searchRom (OneWireMaster &master, SearchRomState &searchState)
 Find device on the 1-Wire bus.

Detailed Description

ROM Commands for enumerating and selecting 1-Wire devices.

Definition in file RomCommands.hpp.