|
ESPHome 2025.12.0-dev
|
WeiKai component family - classes implementation. More...
Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| Providing packet encoding functions for exchanging data with a remote host. | |
| namespace | esphome::weikai_spi |
Enumerations | |
| enum | esphome::weikai_spi::RegType { esphome::weikai_spi::REG = 0 , esphome::weikai_spi::FIFO = 1 } |
| enum | esphome::weikai_spi::CmdType { esphome::weikai_spi::WRITE_CMD = 0 , esphome::weikai_spi::READ_CMD = 1 } |
Functions | |
| std::string | esphome::weikai_spi::i2s (uint8_t val) |
| convert an int to binary representation as C++ std::string | |
| uint32_t | esphome::weikai_spi::elapsed_ms (uint32_t &last_time) |
| measure the time elapsed between two calls | |
| const char * | esphome::weikai_spi::p2s (uart::UARTParityOptions parity) |
| Converts the parity enum value to a C string. | |
| void | esphome::weikai_spi::print_buffer (const uint8_t *data, size_t length) |
| Display a buffer in hexadecimal format (32 hex values / line). | |
| const char * | esphome::weikai_spi::reg_to_str (int reg, bool page1) |
WeiKai component family - classes implementation.
The classes declared in this file can be used by the Weikai family
Definition in file weikai_spi.cpp.