ESPHome 2025.5.0
|
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 |
Enumerations | |
enum | esphome::weikai::RegType { esphome::weikai::REG = 0 , esphome::weikai::FIFO = 1 } |
Functions | |
std::string | esphome::weikai::i2s (uint8_t val) |
convert an int to binary representation as C++ std::string | |
uint32_t | esphome::weikai::elapsed_ms (uint32_t &last_time) |
measure the time elapsed between two calls | |
const char * | esphome::weikai::p2s (uart::UARTParityOptions parity) |
Converts the parity enum value to a C string. | |
void | esphome::weikai::print_buffer (const uint8_t *data, size_t length) |
Display a buffer in hexadecimal format (32 hex values / line) for debug. | |
const char * | esphome::weikai::reg_to_str (int reg, bool page1) |
void | esphome::weikai::print_buffer (std::vector< uint8_t > buffer) |
Hex converter to print/display a buffer in hexadecimal format (32 hex values / line). | |
WeiKai component family - classes implementation.
The classes declared in this file can be used by the Weikai family
Definition in file weikai.cpp.