|
ESPHome 2026.3.0-dev
|
#include <tca9548a.h>
Public Member Functions | |
| void | set_channel (uint8_t channel) |
| void | set_parent (TCA9548AComponent *parent) |
| i2c::ErrorCode | write_readv (uint8_t address, const uint8_t *write_buffer, size_t write_count, uint8_t *read_buffer, size_t read_count) override |
Public Member Functions inherited from esphome::i2c::I2CBus | |
| virtual | ~I2CBus ()=default |
| ErrorCode | read (uint8_t address, uint8_t *buffer, size_t len) |
| ErrorCode | write (uint8_t address, const uint8_t *buffer, size_t len, bool stop=true) |
Protected Attributes | |
| uint8_t | channel_ |
| TCA9548AComponent * | parent_ |
Protected Attributes inherited from esphome::i2c::I2CBus | |
| std::vector< std::pair< uint8_t, bool > > | scan_results_ |
| array containing scan results | |
| bool | scan_ {false} |
| Should we scan ? Can be set in the yaml. | |
Additional Inherited Members | |
Protected Member Functions inherited from esphome::i2c::I2CBus | |
| void | i2c_scan_ () |
| Scans the I2C bus for devices. | |
Definition at line 12 of file tca9548a.h.
|
inline |
Definition at line 14 of file tca9548a.h.
|
inline |
Definition at line 15 of file tca9548a.h.
|
overridevirtual |
Implements esphome::i2c::I2CBus.
Definition at line 9 of file tca9548a.cpp.
|
protected |
Definition at line 21 of file tca9548a.h.
|
protected |
Definition at line 22 of file tca9548a.h.