ESPHome  2024.12.2
Namespaces | Enumerations | Functions
weikai_i2c.cpp File Reference

WeiKai component family - classes implementation. More...

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::weikai_i2c
 

Enumerations

enum  esphome::weikai_i2c::RegType { esphome::weikai_i2c::REG = 0, esphome::weikai_i2c::FIFO = 1 }
 

Functions

void esphome::weikai_i2c::print_buffer (const uint8_t *data, size_t length)
 Display a buffer in hexadecimal format (32 hex values / line). More...
 
const char * esphome::weikai_i2c::reg_to_str (int reg, bool page1)
 
uint8_t esphome::weikai_i2c::i2c_address (uint8_t base_address, uint8_t channel, RegType fifo)
 Computes the I²C bus's address used to access the component. More...
 

Detailed Description

WeiKai component family - classes implementation.

Date
Last Modified: 2024/04/06 14:43:31

The classes declared in this file can be used by the Weikai family

Definition in file weikai_i2c.cpp.