#include <tca9548a.h>
|
| 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 |
| |
| 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) |
| |
| | ESPDEPRECATED ("This method is deprecated and will be removed in ESPHome 2026.3.0. Use write_readv() instead.", "2025.9.0") ErrorCode readv(uint8_t address |
| |
| | for (size_t i=0;i !=count;i++) |
| |
| | if (err !=ERROR_OK) return err |
| |
| | for (size_t i=0;i !=count;i++) |
| |
| | ESPDEPRECATED ("This method is deprecated and will be removed in ESPHome 2026.3.0. Use write_readv() instead.", "2025.9.0") ErrorCode writev(uint8_t address |
| |
Definition at line 12 of file tca9548a.h.
◆ set_channel()
| void esphome::tca9548a::TCA9548AChannel::set_channel |
( |
uint8_t | channel | ) |
|
|
inline |
◆ set_parent()
◆ write_readv()
| i2c::ErrorCode esphome::tca9548a::TCA9548AChannel::write_readv |
( |
uint8_t | address, |
|
|
const uint8_t * | write_buffer, |
|
|
size_t | write_count, |
|
|
uint8_t * | read_buffer, |
|
|
size_t | read_count ) |
|
overridevirtual |
◆ channel_
| uint8_t esphome::tca9548a::TCA9548AChannel::channel_ |
|
protected |
◆ parent_
The documentation for this class was generated from the following files: