esp32-owb
ESP32-compatible C library for Maxim Integrated 1-Wire Bus.
|
Represents the state of a device search on the 1-Wire bus. More...
#include <owb.h>
Data Fields | |
OneWireBus_ROMCode | rom_code |
Device ROM code. | |
int | last_discrepancy |
Bit index that identifies from which bit the next search discrepancy check should start. | |
int | last_family_discrepancy |
Bit index that identifies the last discrepancy within the first 8-bit family code of the ROM code. | |
int | last_device_flag |
Flag to indicate previous search was the last device detected. | |
Represents the state of a device search on the 1-Wire bus.
Pass a pointer to this structure to owb_search_first() and owb_search_next() to iterate through detected devices on the bus.