ESPHome  2024.11.0
Data Structures | Namespaces | Variables
weikai.h File Reference

WeiKai component family - classes declaration. More...

Go to the source code of this file.

Data Structures

class  esphome::weikai::WKRingBuffer< T, SIZE >
 This is an helper class that provides a simple ring buffers that works as a FIFO. More...
 
class  esphome::weikai::WeikaiRegister
 WeikaiRegister objects acts as proxies to access remote register independently of the bus type. More...
 
class  esphome::weikai::WeikaiComponent
 The WeikaiComponent class stores the information global to the WeiKai component and provides methods to set/access this information. More...
 
class  esphome::weikai::WeikaiGPIOPin
 Helper class to expose a WeiKai family IO pin as an internal GPIO pin. More...
 
class  esphome::weikai::WeikaiChannel
 The WeikaiChannel class is used to implement all the virtual methods of the ESPHome uart::UARTComponent virtual class. More...
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::weikai
 

Variables

constexpr size_t esphome::weikai::XFER_MAX_SIZE = I2C_BUFFER_LENGTH
 XFER_MAX_SIZE defines the maximum number of bytes allowed during one transfer. More...
 
constexpr size_t esphome::weikai::FIFO_SIZE = 256
 size of the internal WeiKai FIFO More...
 
constexpr size_t esphome::weikai::RING_BUFFER_SIZE = FIFO_SIZE
 size of the ring buffer set to size of the FIFO More...
 

Detailed Description

WeiKai component family - classes declaration.

Author
DrCoolZic
Date
Last Modified: 2024/04/06 14:44:17

The classes declared in this file can be used by the Weikai family of UART and GPIO expander components. As of today it provides support for wk2124_spi, wk2132_spi, wk2168_spi, wk2204_spi, wk2212_spi, wk2132_i2c, wk2168_i2c, wk2204_i2c, wk2212_i2c

Author
DrCoolZic
Date
Last Modified: 2024/02/29 17:20:32

The classes declared in this file can be used by the Weikai family wk2124_spi, wk2132_spi, wk2168_spi, wk2204_spi, wk2212_spi,

Definition in file weikai.h.