9 static const char *
const TAG =
"spi_device";
12 ESP_LOGD(TAG,
"Setting up SPIDevice...");
14 ESP_LOGCONFIG(TAG,
"SPIDevice started!");
18 ESP_LOGCONFIG(TAG,
"SPIDevice");
19 LOG_PIN(
" CS pin: ", this->
cs_);
20 ESP_LOGCONFIG(TAG,
" Mode: %d", this->
mode_);
22 ESP_LOGCONFIG(TAG,
" Data rate: %" PRId32
"kHz", this->
data_rate_ / 1000);
24 ESP_LOGCONFIG(TAG,
" Data rate: %" PRId32
"MHz", this->
data_rate_ / 1000000);
const float DATA
For components that import data from directly connected sensors like DHT.
void dump_config() override
void spi_setup() override
float get_setup_priority() const override
Implementation of SPI Controller mode.