7 static const char *
const TAG =
"ina2xx_spi";
15 INA2XX::dump_config();
16 LOG_PIN(
" CS Pin: ", this->
cs_);
void spi_setup() override
bool write_ina_register(uint8_t reg, const uint8_t *data, size_t len) override
void write_byte(uint8_t data)
void read_array(uint8_t *data, size_t length)
bool read_ina_register(uint8_t reg, uint8_t *data, size_t len) override
void write_array(const uint8_t *data, size_t length)
Implementation of SPI Controller mode.
void dump_config() override