7 static const char *
const TAG =
"mcp23008";
10 ESP_LOGCONFIG(TAG,
"Setting up MCP23008...");
void dump_config() override
bool read_byte(uint8_t a_register, uint8_t *data, bool stop=true)
I2CRegister reg(uint8_t a_register)
calls the I2CRegister constructor
bool read_reg(uint8_t reg, uint8_t *value) override
bool write_reg(uint8_t reg, uint8_t value) override
bool write_byte(uint8_t a_register, uint8_t data, bool stop=true)
virtual void mark_failed()
Mark this component as failed.
Implementation of SPI Controller mode.