7static const char *
const TAG =
"mcp3204";
14 ESP_LOGCONFIG(TAG,
"MCP3204:");
15 LOG_PIN(
" CS Pin:", this->
cs_);
20 uint8_t command, b0, b1;
23 ((differential ? 0 : 1) << 5) |
void dump_config() override
float get_setup_priority() const override
float read_data(uint8_t pin, bool differential)
void spi_setup() override
uint8_t transfer_byte(uint8_t data)
const float HARDWARE
For components that deal with hardware and are very important like GPIO switch.
Providing packet encoding functions for exchanging data with a remote host.
constexpr uint16_t encode_uint16(uint8_t msb, uint8_t lsb)
Encode a 16-bit value given the most and least significant byte.