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
RomCommands.h File Reference
Go to the source code of this file.
Data Structures | |
struct | SearchState |
State used by all ROM ID search functions. More... | |
Namespaces | |
namespace | OneWire |
Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. | |
namespace | OneWire::RomCommands |
Procedural 1-Wire ROM Commands for enumerating and selecting devices. | |
Functions | |
OneWireMaster::CmdResult | OWFirst (OneWireMaster &master, SearchState &searchState) |
Find the 'first' devices on the 1-Wire bus. | |
OneWireMaster::CmdResult | OWNext (OneWireMaster &master, SearchState &searchState) |
Find the 'next' devices on the 1-Wire bus. | |
OneWireMaster::CmdResult | OWVerify (OneWireMaster &master, const RomId &romId) |
Verify that the device with the specified ROM ID is present. | |
OneWireMaster::CmdResult | OWReadRom (OneWireMaster &master, RomId &romId) |
Use Read ROM command to read ROM ID from device on bus. | |
OneWireMaster::CmdResult | OWSkipRom (OneWireMaster &master) |
Issue Skip ROM command on bus. | |
OneWireMaster::CmdResult | OWMatchRom (OneWireMaster &master, const RomId &romId) |
Use the Match ROM command to select the device by its known ID. | |
OneWireMaster::CmdResult | OWOverdriveSkipRom (OneWireMaster &master) |
Issue Overdrive Skip ROM command on bus. | |
OneWireMaster::CmdResult | OWOverdriveMatchRom (OneWireMaster &master, const RomId &romId) |
Use the Overdrive Match ROM command to select the device by its known ID. | |
OneWireMaster::CmdResult | OWResume (OneWireMaster &master) |
Perform a Resume ROM command on bus. | |
OneWireMaster::CmdResult | OWSearch (OneWireMaster &master, SearchState &searchState) |
Find device on the 1-Wire bus. | |
OneWireMaster::CmdResult | OWAlarmSearch (OneWireMaster &master, SearchState &searchState) |
Find Alarming Devices on 1-Wire bus. | |
OneWireMaster::CmdResult | OWFirstAlarm (OneWireMaster &master, SearchState &searchState) |
Find the first Alarming device on the 1-Wire bus. | |
OneWireMaster::CmdResult | OWNextAlarm (OneWireMaster &master, SearchState &searchState) |
Find the next Alarming Device on the 1-Wire bus. | |
OneWireMaster::CmdResult | OWSearchAll (OneWireMaster &master, SearchState &searchState, bool alarmSearch) |
Helper function for the above search functions. |
Detailed Description
Definition in file RomCommands.h.
Generated on Tue Jul 12 2022 15:46:21 by 1.7.2