21 void setup()
override;
38 uint8_t
read8()
override;
39 uint64_t
read64()
override;
DS248x I2C-to-1-Wire Bridge Component.
OneWireBus implementation for DS248x I2C-to-1-Wire bridges.
float get_setup_priority() const override
void dump_config() override
void write8(uint8_t val) override
void write64(uint64_t val) override
uint8_t get_channel() const
Get the channel number.
void set_parent(DS248xComponent *parent)
Set the parent DS248x component.
uint64_t search_int() override
DS248xComponent * parent_
void set_channel(uint8_t channel)
Set the 1-Wire channel (0-7, only relevant for DS2482-800)
bool ensure_channel_()
Select the channel on the DS248x before any 1-Wire operation.
bool search_last_device_flag_
void reset_search() override
uint8_t search_last_discrepancy_
uint64_t read64() override
constexpr float BUS
For communication buses like i2c/spi.