9 static const uint8_t TCA9548A_DISABLE_CHANNELS_COMMAND = 0x00;
11 class TCA9548AComponent;
27 void setup()
override;
28 void dump_config()
override;
33 void disable_all_channels();
the WriteBuffer structure stores a pointer to a write buffer and its length
float get_setup_priority() const override
i2c::ErrorCode writev(uint8_t address, i2c::WriteBuffer *buffers, size_t cnt, bool stop) override
the ReadBuffer structure stores a pointer to a read buffer and its length
TCA9548AComponent * parent_
This Class provides the methods to read and write bytes from an I2CBus.
void set_channel(uint8_t channel)
const float IO
For components that represent GPIO pins like PCF8573.
Implementation of SPI Controller mode.
void set_parent(TCA9548AComponent *parent)
i2c::ErrorCode readv(uint8_t address, i2c::ReadBuffer *buffers, size_t cnt) override
ErrorCode
Error codes returned by I2CBus and I2CDevice methods.
This Class provides the methods to read/write bytes from/to an i2c device.